shader: lower private qword arithmetic and bitwise LDS updates #934
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/941"
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 stan495 on 2026-11-23T18:07:51Z.
Scope
Lower qword add, subtract, reverse subtract, AND and OR on an initialized private pair. Carry and borrow propagate between dwords.
Depends on #925. The draft includes the prerequisite in its branch history. Review the five forms in commit
1347311.Verification
Tested
1347311on Windows 11 25H2 (10.0.26200.9974) with the D3D12 debug layer enabled. Hardware used AMD Radeon RX 7900 XTX (32.0.32029.2010). WARP used Microsoft Basic Render Driver (10.0.26100.9818).9 passed, 0 failed, 0 skipped. Both backends compared all 320 UAV words. Omitting carry or borrow changes the high word. The add without carry first differed at word 1.
LLVM 15.0.7 round trips reproduced the same HLSL as text translation. Coverage records include all five new forms.
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T20:03:10Z.
8530263resolves the conflicts after #940 with no changed or removed LDS tests from main. The LLVM 15 binary suite passed, and qword arithmetic, wide replacement, and packed LDS each passed on WARP and RTX 4060 Laptop with their 320-word comparisons and expected mutation failures. The updated candidate is waiting for Windows CI.