shader: lower wide unsigned CMPX in mesh SAVEEXEC (Part of #3703) #3922
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3922"
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:38:56Z.
Part of #3703
X1 unsigned mesh CMPX
The census lists 178 first refusals at
v_cmpx_lt_u32. Main already accepts the plain VOPC and VOP3 encodings on the straight-line path. The new fixture reproducesunsupported mesh CMPX in a SAVEEXEC then armfor the VOP3 form in a verified child region. Private census coverage is pending.The child region requires a reaching EXEC copy, EXECZ skip and matching restore. The wide compare joins the existing VOPC path and emits unsigned
icmp ult. The guarded write uses the intersection with parent EXEC, and the join preserves inactive values. VCC is untouched. SDWA, DPP, abs, neg, clamp, omod, op_sel, a nonzero unused SRC2, unsupported wide predicates and unproven restores continue to refuse.Verification
Base
d2e6a4ed, patch04e72ee0. Both builds passed, including the full Debug build and its C++17 shader frontend target.accepted=1 refused=0; the baseline also exhibits these failures.X2W_SYNC_MESH_REQUESTS=1. All five RTX 5080 mesh cases passed in both configurations.Windows 11 10.0.26200.9974, MSVC 19.44.35230, Windows SDK 10.0.26100, DXC 1.9.2602.17. WARP 10.0.26100.9818 and NVIDIA GeForce RTX 5080 with driver 32.0.16.2140. The D3D12 debug layer was unavailable.
🤖 Generated with Claude Code
Imported from R0Y00/Xbox2Windows. Originally posted by timbot103 on 2026-12-03T12:23:49Z.
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:47:09Z.
Review: APPROVED
Reviewed
04e72ee0. The e64 recognition stays on plain unsigned LT, and the child still intersects its predicate with the enclosing lane mask before restoring parent EXEC.Independently built compile_dxil with Windows MSVC Debug and ran
ctest --preset dev --no-tests=error --output-on-failure -j 1 -R '^native_mesh_cmpx_lt_u32_ir$': 1/1 passed (five DXIL cases and eight refusals). With the original e32-only guard restored locally, the fixture failed at nested-vop3 with the expected SAVEEXEC refusal at +0x3c. The unmodified build passed again. This was DXIL validation and inspection.