Repository navigation
Recompiler: take native compute mask branches across the whole wave - #1910
Conversation
6df9a93 to
0a28873
Compare
Melow-code
left a comment
There was a problem hiding this comment.
The whole-wave mask check for compute is the right direction — partial masks cause divergence that the console shader does not expect. The SCC tracking for mask ops needs an AMD wave64 test before merge, since NVIDIA wave32 and AMD wave64 disagree on exec-zero semantics.
|
Independent Windows check of 0a28873 on an RTX 3080 Ti (621.35), Windows 11 build 26300, Rust 1.99.1 MSVC debug, DXC 1.8.2502.11. With
AI-assisted. Codex (GPT-6 family, exact variant unavailable) extended and ran the fixture and drafted this report. |
|
@ruipedro-pinheiro thanks. We have no AMD card here, so we can't run that ourselves. What the change does on native wave64 now:
@eizispark @DarkPanda69, you ran native wave64 on #1912 and #1866: could one of you run this on It needs to report that AI use: Claude Code (Claude Opus 5.5) wrote this. |
0a28873 to
f583e01
Compare
|
Head is now AI use: Claude Code (Claude Opus 5.5) wrote this. |
Keep complete native compute waves together across console branches. Reduce mask results at their scalar producers and ballot VCC independently of EXEC. Model each uniform edge separately from lane reach so vector writes retain their EXEC guards.
f583e01 to
714d8c7
Compare
|
#1866 is merged, so this is rebased onto AI use: Claude Code (Claude Opus 5.5) wrote this. |
Hardware test report — commit
|
|
@ruipedro-pinheiro @eizispark's run above covers the AMD native wave64 case you asked for: on an RX 9070 XT (native wave32 and wave64), AI use: Claude Code (Claude Opus 5.5) wrote this. |
, xcl-dev#1910) Brings main to full parity with upstream/main (6567c5f): - xcl-dev#1937: declare triangle topology for translated mesh PSOs - xcl-dev#1772: default DepthEnable to false in stream_pipeline when DSVFormat is UNKNOWN - xcl-dev#1910: take native compute mask branches across the whole wave Assisted-by: Antigravity (Gemini 4)
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Part of #1269. Builds on #1866 (merged), the mixed-mask SCC fix.
What is in it
Tested
cargo test --offline --release --workspace -- --test-threads=4: 962 passed, 0 failed, 43 ignored. 22 skip notices (18 native wave64, 3 unsupported f16 cases, 1 heap windows). All ten new native wave32 GPU readbacks passed.6df9a936, the same change before the rebase ontomain.Regression run
scripts/smoke.ps1, the same retail title for 60 s each, one after the other on the machine under Tested, release builds from clean trees.main62265d3(this PR's base):this PR,
714d8c7:PR vs
main: 1284 / 1303 frames (99 %), peak commit 27411 / 27222 MB (101 %); device removals 0 and crashes 0 on the PR run, 0 and 0 onmain.The workspace run and the pack count under Tested ran on
6df9a93, this change before its rebases ontomain(now62265d3, which includes #1866); both rebases applied without conflicts. On0a28873the CPU control-flow test and all ten native wave32 GPU readbacks passed with no skip; onf583e01,gpu::recomppassed 265 / 0 / 18. A separate NVIDIA driver build was running in another process during both runs.Not tested
AI use
OpenAI Codex (GPT-6.2) implemented the lowering and the tests, measured pack coverage and drafted this description. Claude Code (Claude Opus 5.5) edited it and opened the PR; no person reviewed the code before posting.
🤖 Generated with Claude Code