48278d3c
by Giovanni Mascellani at 2026-06-09T13:09:07+02:00
tests/hlsl: Test GatherCmp{Green,Blue,Alpha}() with a SRV swizzle.
The current test works on Windows on the CI only because we use a
sufficiently old WARP version (1.0.16.1). Starting from 1.0.17.0 compare
gathering from channels other than red stops working, and the change is
explicitly mentioned in the changelog, so we can assume it's
intentional.
Therefore we stop assuming that GatherCmp{Green,Blue,Alpha}() will
automatically the red component and introduce an explicit SRV swizzle to
make that happen.