Files
6gbvram---16gb-ram/crates
LyrncandClaude Opus 5.5 64a2ec1b95 Shaders: v_cmp_lg is ordered on AMD hosts too (olt | ogt, not fcmp one)
v_cmp_lg_{f32,f16} ("less or greater") is ordered and not equal: false
when either operand is a NaN, on RDNA2 hardware as in the ISA. It was
lowered to `fcmp one`, which says the same, but the AMD D3D12 driver runs
`fcmp one` as unordered and returns true for a NaN. NVIDIA and WARP get it
right. It now lowers as `olt | ogt`, which all three run alike.

New GPU test v_cmp_lg_is_false_for_nan covers both widths: NaN on either
side, both NaN, a signalling NaN, +0 against -0, inf against inf and
against -inf, and junk in the unread high halves for f16.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 10:07:26 +03:00
..
2026-11-23 01:15:26 +01:00