Repository navigation
Conversation
…put check Since R0Y00#3094 the dispatch path handles output view tokens before the descriptor checks of R0Y00#3229, so the texture-view token of the dispatch-output-texture-token case is refused with "an output token does not identify a slot-19 UAV". The old reason is no longer reached from this fixture; the docs note says so. Refs R0Y00#3224 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KelboLive
left a comment
There was a problem hiding this comment.
LGTM — expected change. The output-token path now binds buffer UAVs before descriptor checks (#3094), so a texture token gets refused with an output token does not identify a slot-19 UAV instead of reaching the old reason.
Only test expectations and docs updated; no logic changes here. Correct and safe.
KelboLive
left a comment
There was a problem hiding this comment.
LGTM — expected change. The output-token path now binds buffer UAVs before descriptor checks (#3094), so a texture token gets refused with an output token does not identify a slot-19 UAV instead of reaching the old reason.
Only test expectations and docs updated; no logic changes here. Correct and safe.
KelboLive
left a comment
There was a problem hiding this comment.
LGTM — expected change. The output-token path now binds buffer UAVs before descriptor checks (#3094), so a texture token gets refused with an output token does not identify a slot-19 UAV instead of reaching the old reason.
Only test expectations and docs updated; no logic changes here. Correct and safe.
Leyukaka
left a comment
There was a problem hiding this comment.
Approve at 3ec83c1.
Checked by reading on main 212d4b5:
dispatch-output-texture-tokencopies an SRV token (slot 18,d3d12_capture.inl:556) into the output slot. The output loop sends any token tocompute_token_outputandcontinues (d3d12_compute_dispatch.inl:828), whose first check (:492) refuses it withan output token does not identify a slot-19 UAV. Theis a view tokencheck (:889) comes after thatcontinueand is no longer reachable, so the old expectation can't match.- The case still asserts the sentinel output, one refusal line and the census bucket. No runtime change.
- Merges cleanly onto 212d4b5 (
git merge-tree).
Main's CI shows the failure: run 46194701708 (main 0614f68) fails startup_compute_dispatch_output_warp with Dispatch(3, 2, 2) refused: an output token does not identify a slot-19 UAV, census token word 3 = 00000012 (slot 18). The PR's CI run (46178934743) ran 73 tests and not this one, so the pass at this head rests on the local runs in the description.
Not covered: either half of words[2] != 19 || ... || record.slot != 19 can be removed and the case still passes, because the fixture token fails both. A token whose words say slot 19 but whose record is not a UAV would tell them apart.
Refs #3224
startup_compute_dispatch_output_warpfails onmain. Itsdispatch-output-texture-tokencase (from #3229) expectsan output buffer descriptor is a view token. Since #3094 (71844ba0), the dispatch path handles output view tokens before the descriptor checks: it binds a buffer UAV token and refuses any other token withan output token does not identify a slot-19 UAV. The fixture's texture-view token now gets that reason. #3229's docs note anticipated this ("with #2961, reason 1 is not reached").tests/startup_compute_dispatch_output_check.py: the case expects the token-path reason, and the docstring says why.docs/experiments/compute-output-buffer-reasons.md: says reason 1 is no longer reached and names the fixture's reason.No runtime change. The case still checks that a texture token in an output slot is refused before any dispatch and leaves every output word at its sentinel.
Verification
Commit
3ec83c1fonmainf2972840. Windows 11 build 26300, MSVC x64 Debug, Windows SDK 10.0.26100 DXC, D3D12 debug layer enabled.startup_compute_dispatch_output_warp(Microsoft Basic Render Driver): passed.startup_compute_dispatch_output_hardware(NVIDIA GeForce RTX 4090, driver 32.0.16.1088): passed.6685de7c, run 46174085372) failedstartup_compute_dispatch_output_warpon this assertion. The log showsDispatch(3, 2, 2) refused: an output token does not identify a slot-19 UAV.AI-assisted.
🤖 Generated with Claude Code