tooling: compare raw UAV output of condstore_256 with and without GVN #955
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/962"
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 rasptum on 2026-11-23T18:58:26Z.
Refs #775. This is the output-parity follow-up R0Y00 suggested after #918 (milestone: #676 replay profile, mixed-sampler compute compile time). The interface is a new
offscreen_check --raw-uav-dumpoperation plus the CTest entriesdxc_gvn_output_warpanddxc_gvn_output_hardware.What it checks
tests/dxc_gvn_output_check.pycompilescondstore_256fromtools/dxc_compile_time.pytwice: with default optimization and with-opt-disable gvn. It dispatches both blobs with identical inputs and compares the complete raw UAV (70,656 bytes, 17,664 words) bit for bit, with each other and with an expected buffer computed from the HLSL alone. The two containers differ (default GVN folds the alternating conditions into phis, while the no-GVN build recomputes them). The script prints both SHA-256 values and fails if they are equal.((i + 1) * 0x9E3779B1) | 1, so unwritten words stay distinguishable. There are two dispatches, with 1 and 2 groups; they change 130 and 260 words respectively.offscreen_checkreports the SM 6.6 skip on both). GVN still takes 81.8 % of the pass time ofcondstore_1024at cs_6_0.Results
Windows 10 Pro build 19045, Ryzen 7 3700X, no Agility SDK, no debug layer. WARP was the in-box
d3d10warp.dll10.0.19041.5794; the hardware adapter was an NVIDIA GeForce RTX 3060 (vendor 10de device 2503) on driver 32.0.15.9636.52da17e29, Windows SDK 10.0.26100; CTest DXC)01b62ad47, LunarG Vulkan SDK 1.4.363.0)Each cell covers both dispatches (1 and 2 groups). There were no capability skips. The container hashes are
cc17e4dc...(default) and649f66ed...(no-GVN) for 1.7, andac0ff6cb...and11042b5a...for 1.9. This supports output equivalence of the GVN option on this one minimized shader, for these inputs and adapters. It makes no claim about production flags, cs_6_6 DXIL, larger members of the family or the archive cohort.Commands
The full dev and release builds and tests ran before the rebase. On the final commit
cf3c75f(rebased ontoc8b8807, clean),offscreen_checkwas rebuilt in dev.dxc_gvn_output_warp,dxc_gvn_output_hardware,dxc_compile_time_gvn,offscreen_capability_table_self_testand the three Python checks passed again. The release build was not repeated on the final commit.🤖 Generated with Claude Code