blob: a7d5956b897e216fc73e91fe01fa00333b6943e3 [file] [log] [blame]
uniform float2x2 testMatrix2x2;
uniform half4 colorGreen, colorRed;
half4 main(float2 coords) {
return (determinant(testMatrix2x2) == -2 &&
determinant(half3x3(1, 2, 3, 4, 5, 6, 7, 8, 10)) == -3 &&
determinant(float4x4(1, 2, 3, 4, 5, 7, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17)) == -16)
? colorGreen : colorRed;
}