upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorsyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 15:11:46 +0100
committersyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 15:11:46 +0100
commitcc841a8b478ef85e495a9234c1edbbaf6a6eb5e7 (patch)
tree42bc322e00c054c777336710dc7ff3a0fa2015b4 /runtime/test/queue_proxy_test.cpp
parent73516a2902a9872e4d21d1bdbbde4e26059497c5 (diff)
d3d12_device_calls: forget a slot a store or a call may have replaced (D3D12-DEVICE-CALLS-STALE-SLOT)
The walk keeps a stack slot that held the device across calls and drops it only on a plain store to its exact address. Two ways a slot gets another object were missed, and a call through it was then reported as a device slot, the guess the report promises not to make: - A call given the slot's address. device->CreateCommandQueue(&desc, riid, &out) with out in the slot the device was spilled to (frame slots are reused) leaves the queue there; queue->SetName was counted as device slot 6. The slots passed in rcx/rdx/r8/r9 are now forgotten at the call (a creator's out slot is still added back after it). - An SSE/AVX store (movups/movaps/movdqu/movq/... and their VEX forms) over the slot, as struct copies are compiled, and any store that covers only part of it. Every store now ends the slots whose bytes it touches; the vector stores take their widest form (16 bytes, 32 under VEX), since the decoder keeps neither the prefix nor VEX.L. Tested: two new tests in tests/test_d3d12_device_calls.py (the five overwriting cases fail before the change; the stores and out-pointer that miss the slot keep it, before and after). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions