shader: prove packed mesh PARAM order and coverage (Part of #3703) #3924
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3924"
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 timbot103 on 2026-12-03T10:42:17Z.
Part of #3703
P2 · Unproven packed mesh signature rows
The census at
368a045dfput 740 programs in this first-refusal row. The work split describedexp param0after higher PARAM exports or inside a SAVEEXEC skip. This change proves both shapes on source-built input.The private census still needs to be rerun to measure the first-refusal delta.
Verification
Windows 11
10.0.26200.9974, MSVC19.44.35230.0, DXC1.9.2602.17(21d28f727). Microsoft Basic Render Driver (WARP)10.0.26100.9818and NVIDIA GeForce RTX 508032.0.16.2140(621.40). The D3D12 debug layer was unavailable on both adapters.Built with
cmake --build out/build/dev -- -j 6andcmake --build out/build/release --target compile_dxil offscreen_check startup_indirect_draw_indexed -- -j 6.Tested commit
82aa325f.The existing mesh readbacks passed on the RTX 5080 (5/5 in Debug and Release) and WARP (5/5 in Debug). On Release WARP, the two read-first-lane tests passed and the three allocation tests reproduced #3664. The first allocation test reported
accepted=1 refused=0, with one archived refusal expected. All three passed with synchronous mesh requests.python -B tests/bidi_controls_check.py,python -B tests/docs_links_check.py, andgit diff --check origin/main...HEADpassed.🤖 Generated with Claude Code
Imported from R0Y00/Xbox2Windows. Originally posted by timbot103 on 2026-12-03T12:23:52Z.
Marked Ready for review now that #3917–#3921 have merged, keeping within 5 non-draft PRs per #3514. The branch merges cleanly with current
main, and CI is green at this head. It was also built and tested together with the other open wave branches (#3917–#3926).Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-12-03T12:49:20Z.
Review: APPROVED
Reviewed
82aa325f. Checked reflected row ownership, defined source halves and the allocated vertex count on the direct SAVEEXEC path. Independently built compile_dxil in Windows MSVC Debug and ranctest --preset dev --no-tests=error --output-on-failure -j 1 -R '^native_mesh_(packed_rows_vcc_ir|packed_order_dxil)$': 2/2 passed.Forcing legacy_count_skip off made allocated-vertex-saveexec fail at +0x74. Removing the final limit equality by itself left both checks green. In the exercised varying-compare path the count must already match before the mask is recorded, so the narrower-count fixture exercises that earlier check. The unmodified build passed again. These checks validate and inspect emitted DXIL.