Giovanni Mascellani (@giomasce) commented about tests/hlsl/ternary.shader_test:
+float4 main() : sv_target +{
- (cond ? a : b);
- return 0;
+}
+[pixel shader fail todo]
+uniform float4 cond; +uniform float4x1 a, b;
+float4 main() : sv_target +{
- (cond ? a : b);
Is there a reason for the parentheses here?