tests: expect the output-token refusal for a texture token in the output check #3394
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3394"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by Not-Saii on 2026-11-28T19:01:05Z.
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
Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-28T19:08:46Z.
Review: COMMENTED
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 UAVinstead of reaching the old reason.Only test expectations and docs updated; no logic changes here. Correct and safe.
Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-28T20:29:38Z.
Review: APPROVED
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 UAVinstead of reaching the old reason.Only test expectations and docs updated; no logic changes here. Correct and safe.
Imported from R0Y00/Xbox2Windows. Originally posted by KelboLive on 2026-11-28T21:56:55Z.
Review: APPROVED
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 UAVinstead of reaching the old reason.Only test expectations and docs updated; no logic changes here. Correct and safe.
Imported from R0Y00/Xbox2Windows. Originally posted by Leyukaka on 2026-11-29T00:37:24Z.
Review: APPROVED
Approve at
3ec83c1f.Checked by reading on main
212d4b5f: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.212d4b5f(git merge-tree).Main's CI shows the failure: run 46194701708 (main
0614f68c) failsstartup_compute_dispatch_output_warpwithDispatch(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 != 19can 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.