diff --git a/tests/hlsl/bitwise.shader_test b/tests/hlsl/bitwise.shader_test index 03b4282c..008ddce3 100644 --- a/tests/hlsl/bitwise.shader_test +++ b/tests/hlsl/bitwise.shader_test @@ -96,6 +96,26 @@ float4 main() : SV_TARGET todo(glsl) draw quad probe all rgba (0.0, 1.0, 1.0, 0.0) +[pixel shader todo(sm<6)] +float4 main() : SV_TARGET +{ + int a = 0; + int b = 0; + int c = 1; + int d = 1; + + a ^= 0; + b ^= 1; + c ^= 0; + d ^= 1; + + return float4(a, b, c, d); +} + +[test] +todo(glsl|sm<6) draw quad +probe all rgba (0.0, 1.0, 1.0, 0.0) + [pixel shader] float4 main() : SV_TARGET {