blob: 5d2c891fec94db46933f2c7cc10ad322d3c92b23 [file] [log] [blame]
uniform float2x2 testMatrix2x2;uniform float3x3 testMatrix3x3;uniform float4 testInputs;uniform half4 colorRed;uniform half4 colorGreen;uniform half unknownInput;bool a(){float2x2 b;float2x2 c;b=testMatrix2x2;b=testMatrix2x2;b=-b;c=float2x2(0.);c=float2x2(0.);return b==-testMatrix2x2&&c==float2x2(0.);}bool b(){float3x3 c;float3x3 d;c=testMatrix3x3;c=testMatrix3x3;c=-c;d=float3x3(0.);d=float3x3(0.);return c==-testMatrix3x3&&d==float3x3(0.);}bool c(){float4x4 d=float4x4(testInputs,testInputs,testInputs,testInputs);float4x4 e;float4x4 f;e=d;e=d;e=-e;f=float4x4(0.);f=float4x4(0.);return e==-d&&f==float4x4(0.);}half4 main(float2 d){return(a()&&b())&&c()?colorGreen:colorRed;}