Giovanni Mascellani (@giomasce) commented about tests/hlsl/ternary.shader_test:
{
- return x ? y : z;
- 0 ? a : b;
- return 0;
+}
+[pixel shader]
+uniform float3x3 a; +uniform float2x2 b;
+float4 main() : sv_target +{
- return float4(0 ? a : b);
+}
Could you also add a quick `[test]` for expected-successful shaders? Semantics should be obvious here, but I'm always braced for surprises...