1uniform half4 colorGreen, colorRed; 2 3half4 main(float2 coords) { 4 const float2x3 f23 = matrixCompMult(float2x3(4), float2x3(5)); 5 const half3x2 h32 = matrixCompMult(half3x2(5), half3x2(3)); 6 half2x4 h24 = matrixCompMult(half2x4(9, 9, 9, 9, 9, 9, 9, 9), 7 half2x4(colorRed, colorGreen)); 8 half4x2 h42 = matrixCompMult(half4x2(1, 2, 3, 4, 5, 6, 7, 8), 9 half4x2(colorRed, colorGreen)); 10 const float3x4 f34 = matrixCompMult(float3x4(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 11 float3x4(12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1)); 12 float4x3 f43 = matrixCompMult(float4x3(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12), 13 float4x3(12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1)); 14 return (f23 == float2x3(20) && 15 h32 == half3x2(15) && 16 h24 == half2x4(9, 0, 0, 9, 0, 9, 0, 9) && 17 h42 == half4x2(1, 0, 0, 4, 0, 6, 0, 8) && 18 f34 == float3x4(12, 22, 30, 36, 40, 42, 42, 40, 36, 30, 22, 12) && 19 f43 == float4x3(12, 22, 30, 36, 40, 42, 42, 40, 36, 30, 22, 12)) ? colorGreen 20 : colorRed; 21} 22