Repository navigation
d3d12_execute_indirect_validation_test: hold a Windows 11 23H2 host to its own runtime's verdicts - #8311
Open
0klavair wants to merge 1 commit into
Open
d3d12_execute_indirect_validation_test: hold a Windows 11 23H2 host to its own runtime's verdicts#83110klavair wants to merge 1 commit into
0klavair wants to merge 1 commit into
Conversation
…untime's verdicts The expected column was measured on a newer runtime (ItsNotRexed#6830 passes on Windows 11 24H2), and the test failed on Windows 11 23H2: its in-box D3D12Core 10.0.22621.5415 refuses 5 cases on WARP and on the GPU alike. With max=0 it still refuses an argument offset past the buffer (260 > 256, U64MAX-3), and it bounds offset + stride * max instead of where the last command ends (stride 20 draws at 240 and 220, a stride 20 dispatch at 244). Those cases now carry the older runtime's measured verdict, and a host without ID3D12Device11 (the 23H2 runtime, as in d3d12_vulkan_device_test) is compared with it. The layer is still checked against the measured column on every host, and a host with ID3D12Device11 against that column as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Claim: #7496 (comment) (new TEST item).
Problem
On Windows 11 23H2 (build 22631),
d3d12_execute_indirect_validationfails onmaindde82f27, run alone or underctest: 5 failures,layer=1 warp=0 hw=0 expected=1. Theexpectedcolumn was measured on a newer runtime: #6830 passes on 24H2 (26100). The 23H2 in-box runtime (D3D12Core 10.0.22621.5415) refuses 5 of these cases, on WARP and on the GPU alike:arg_offset=260 >width (max=0 no-op)arg_offset=U64MAX-3 aligned (max=0 no-op)draw stride=20 off=240 max=1 (240+16==256)draw stride=20 off=220 max=2 (220+20+16==256)dispatch stride=20 off=244 max=1 (244+12==256)The 23H2 rules behind them:
max=0, it still refuses an argument offset past the buffer. At exactly the width it accepts, as the newer runtime does.offset + stride × maxinstead of where the last command ends.Fix (test only)
Casegets an optionalolder_runtimeverdict. It is set on those 5 cases (0, refused) and is -1 everywhere else.ID3D12Device11is compared with that verdict. That is 23H2's runtime, told apart the same way as in d3d12_vulkan_device_test: tell Windows 11 23H2's runtime apart by ID3D12Device11 (TEST-724 follow-up) #4667.ID3D12Device11is compared with the measured column, as before.older host runtime's verdict, and a summary line counts them.Tested
Windows 11 23H2 (22631), RTX 5060, NVIDIA 621.01, MSVC 19.44, Ninja RelWithDebInfo:
LEONIDA_VK_VALIDATION=0and=1.has_device11forced totrue, so the 23H2 host is taken as a newer runtime, the same 5 failures come back (exit 1).Not run:
ID3D12Device11, so it takes the unchanged path that d3d12: match Windows recording-time ExecuteIndirect validation #6830 measured.ID3D12Device11and is held to the 23H2 verdicts, but I have not measured its own.The other
ctestfailures on this machine already have PRs:d3d12_vulkan_device(#7125),d3d12_indirect_dispatch_count(#5792),d3d12_depth_resolve(#7905 and others), andd3d12_bindless_churn_validatedunder-j4(#6221).AI-assisted (Claude Code).
🤖 Generated with Claude Code