upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/main.cpp
diff options
context:
space:
mode:
authorTyrannys <80750971+Tyrannys@users.noreply.github.com>2026-11-26 04:53:26 -0600
committerTyrannys <80750971+Tyrannys@users.noreply.github.com>2026-11-26 04:53:26 -0600
commit2d56b685ac69d0447cb5bb560e132ad354d8779d (patch)
treef25a5d950f669ab5314fda8f528a7efd1034db21 /runtime/src/main.cpp
parenta83f38508f535a2de95a15f91071139de2c26fee (diff)
d3d12: the checkpoint's second look also sees a running demanded build
The startup cache checkpoint starts only when no compile worker is busy, but a demanded build can start on another worker while the checkpoint queries the cache size. has_compile_waiter() only looked at the queue, so the check after the size query went on to read the cache blob while that build ran. has_compile_waiter() now also answers true while a demanded build runs. New gated test in d3d12_compile_pool_test: the checkpoint waits at a gate standing in for the size query, a demanded build starts on the second worker, and the second look must see it. It fails without the fix. Reported by lixonik in review of #2233. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions