Giovanni Mascellani (@giomasce) commented about tests/hlsl/clip.shader_test:
[test] uniform 0 float4 1 2 3 4 -todo(sm>=6) draw quad +todo(sm<4 | sm>=6) draw quad probe all rgba (1, 2, 3, 4) uniform 0 float4 9 8 7 6 -todo(sm>=6) draw quad +todo(sm<4 | sm>=6) draw quad probe all rgba (9, 8, 7, 6) uniform 0 float4 -1 8 7 6 -todo(sm>=6) draw quad +todo(sm<4 | sm>=6) draw quad probe all rgba (9, 8, 7, 6) uniform 0 float4 9 0 7 6 -todo(sm>=6) draw quad +todo(sm<4 | sm>=6) draw quad
Something's strange here: this shader compiles successfully to SM2 and SM3 on my computer, but it fails on the CI; so while the CI pipeline passes, I can see failures on my computer. So far I have no idea of what's causing this behavior difference. But it seems to me that `clip()` should be supported by our HLSL compiler, shouldn't it?