tests: expect the output-token refusal for a texture token in the output check #3396
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!3396
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@Not-Saii on GitHub · 2026-11-28 19:01 UTC · original
Not-Saii:tests/output-token-expectation→main· +6 −4 · 2 files · 1 commits · merged 2026-11-29 08:38 UTCRefs #3226
startup_compute_dispatch_output_warpfails onmain. Itsdispatch-output-texture-tokencase (from #3231) 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. #3231'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
@KelboLive on GitHub · 2026-11-28 19:08 UTC · original · reviewed
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.
github-bot referenced this pull request2026-11-28 19:58:36 +00:00
@KelboLive on GitHub · 2026-11-28 20:29 UTC · original · approved these changes
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.
@KelboLive on GitHub · 2026-11-28 21:56 UTC · original · approved these changes
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.
github-bot referenced this pull request2026-11-28 22:11:21 +00:00
@Leyukaka on GitHub · 2026-11-29 00:37 UTC · original · approved these changes
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.xmem_startup_below_40,linear_buffer_backing_copy_warpandstartup_resource_retire_hardware_debug0each failed once on main CI #3428