Merge pull request #706 from Lyrnc/fix/cmp-lg-ordered

Shaders: v_cmp_lg is ordered on AMD hosts too (olt | ogt, not fcmp one)
This commit is contained in:
Marvis authored and GitHub committed 2026-11-24 09:24:08 +01:00
commit 3fccceca6e
3 files changed
+84 -20

No files matched your search

@@ -103,6 +103,9 @@ pub(crate) mod pred {
pub const OGE: u8 = 3;
pub const OLT: u8 = 4;
pub const OLE: u8 = 5;
// Not emitted: the AMD D3D12 driver treats it as UNE, so `v_cmp_lg`
// lowers as OLT | OGT instead.
#[allow(dead_code)]
pub const ONE: u8 = 6;
pub const ORD: u8 = 7;
pub const UNO: u8 = 8;