Repository navigation
Conversation
Leyukaka
approved these changes
Nov 29, 2026
Leyukaka
left a comment
Collaborator
There was a problem hiding this comment.
Approve at 647db68. This is from reading the diff only. I did not build or run it.
- The acceptance set is unchanged (
d3d12_compute_dispatch.inl:534-541). A copied placement is accepted only when the view covers it whole andX2W_COPIED_OBJECT_UAVis on, as before. Non-copied mismatches keep the old reason. No code compares the old output reason text; onlynative_compute_pack_check.pydid. - The fixture's
copied-wholeview (startup_stream_consumer.cpp:436-447) covers the fullwords * 4placed buffer, so it reaches the env check. Swapping the partial and env checks would fail thecopiedcase. - Not covered: no test sets
X2W_COPIED_OBJECT_UAV=1. Mutatingif (!copied_views)toif (true)at:539would refuse every whole copy, and no test would catch it. This gap predates the PR. Acopied-wholerun with the variable set, expectingresult=bound, would close it. - CI does not run the changed test. The loop is in the
hardwarepath, so onlynative_compute_pack_hardwarereaches it. Theprtest preset leaves outnative_compute_pack*, and push CI excludes_hardware$(windows.yml:493,498). The evidence for the new reasons is the local hardware run. - The
startup_compute_dispatch_output_*failures are unrelated to this diff: main 212d4b5 still expectsan output buffer descriptor is a view tokenatstartup_compute_dispatch_output_check.py:39, and #3394 changes that expectation. - Merges cleanly with main 212d4b5.
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.
Refs #3224.
Change
The latest reported 600-second startup census grouped 46 shaders and 168,128 dispatches under the output UAV backing-alias refusal. This patch gives two cases separate census reasons: a UAV that covers only part of a copied placement, and a whole copied UAV with
X2W_COPIED_OBJECT_UAVdisabled. Other alias mismatches keep the existing reason. The acceptance conditions stay the same.The source-built fixture exercises both refusals and verifies that all output words retain their sentinel values. This patch adds diagnostics. The census has yet to be rerun with the new reasons.
Local Release validation
Tested commit
647db688(based on8ecd30fe) on Windows 11 build 26200.9974, RTX 4060 Laptop GPU with driver 616.56, and WARP 10.0.26100.9818. The hardware fixtures used the D3D12 debug layer.native_compute_packandnative_compute_pack_hardwarepassed, including both copied-placement controls.startup_compute_dispatch_native_hardwarepassed.startup_compute_dispatch_native_warpreported capability skip (77) because the adapter has no 32-lane waves.startup_compute_dispatch_output_warpandstartup_compute_dispatch_output_hardwareboth failed indispatch-output-texture-token. The fixture expectsan output buffer descriptor is a view token. The runtime refuses the slot-18 token earlier withan output token does not identify a slot-19 UAV.Mainline control
I rebuilt unmodified
mainat8ecd30feon the same machine and reran the two output tests with:Both failed in the same case with the same refusal string. The control confirms the failures predate this patch. Prior report in #3224