Commit Graph

2 Commits

Author SHA1 Message Date
ca9a76b63b Runtime: include <initializer_list> in d3d12_fence_waiter_test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:58:09 +00:00
d8397aa3ee Runtime: keep the multiple-fence countdown unsigned (D3D-30 review)
SetEventOnMultipleFenceCompletion narrowed its UINT count to int for the
ALL countdown, so a count past INT_MAX started negative, looked done and
never set the event. The waiter now counts down a std::atomic<UINT> that
stops at zero, so later ANY hits do not wrap. It moves to
shims/d3d12_fence_waiter.h, and the new ctest d3d12_fence_waiter checks
counts past INT_MAX, ALL, and hits past zero without a GPU.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:55:30 +00:00