Repository navigation
Shaders: hardware probes for the remaining s_cmp_* integer compares - #2564
LouisRiverstone wants to merge 1 commit into
Conversation
|
Tested on Windows with AMD Ryzen 5 5600X + NVIDIA GeForce RTX 4060 (AI-assisted):
|
fyernald
left a comment
There was a problem hiding this comment.
Checked on real NVIDIA hardware: RTX 3080 (617.42), Windows 10 (19045), plus WARP, main 67e8ae1 + #486 + #2596 (without #2596 the suite crashes on NVIDIA, #2571). cargo test -p victory-shader --lib --locked -- --test-threads=1 gives 267 passed, 3 failed, the same as the base. The 3 are the #1835 failures. The new probes agree with the model on both adapters.
The opcodes match the RDNA2 SOPC table: s_cmp_eq_i32, lg_i32, ge_i32, le_i32 at 0x00/0x01/0x03/0x05, and ge_u32/le_u32 at 0x09/0x0B.
|
Automated triage for the maintainers. Merge candidate. This is a recommendation to look, not an approval. It merges cleanly into The PR adds the six missing 32-bit SOPC compares to the SCC/ Generated by Claude Code |
…_* integer compares
…_* integer compares
Adds probes for s_cmp_eq_i32, s_cmp_lg_i32, s_cmp_ge_i32, s_cmp_le_i32, s_cmp_ge_u32 and s_cmp_le_u32 (SOPC 0x00, 0x01, 0x03, 0x05, 0x09, 0x0B) to the compare loop in scalar_probes. Test-only.