upleb.uk

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

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authornatterman12 <92529018+natterman12@users.noreply.github.com>2026-11-23 22:15:38 -0500
committerklikso <204526810+klikso@users.noreply.github.com>2026-11-24 17:38:44 +0000
commit10f7fc21c76368414ae14115f6ae04effeb12dc1 (patch)
tree0ceeb62288884446511b4fcc3a26a39b9535eac0 /runtime/test/tiny_game_exit_code_test.cpp
parent94daa515f89410a3bc261a0a15e2ae1d782eca0c (diff)
d3d12: ExecuteIndirect accepts the argument ranges newer D3D12 runtimes accept
PC D3D12 runtimes disagree on five ExecuteIndirect cases. Older Windows 11 builds bound max_count * stride and check the argument offset at a zero count; newer ones (D3D12Core 10.0.26100.9818 on Windows 11 26300, WARP and NVIDIA alike) bound (max_count - 1) * stride + record_size and check nothing at a zero count. e1ec785b2 moved the layer to the older rule, so d3d12_execute_indirect_validation failed on every newer host, as it had failed on older ones before. The layer takes the wider rule again, in recording (d3d12_com.cpp) and in replay (vulkan_replay.h): it is the rule vkCmdDraw*Indirect states, no byte outside the buffer is read, and a refusal drops the whole command list for a call a shipping runtime runs. The test marks the five cases host_varies: the layer has to accept them and a live host may answer either way, so the test stops failing on one group of machines or the other. Two cases that neither rule accepts are added, and the positive GPU path replays both disputed shapes with validation on. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions