1uniform half4 colorGreen, colorRed; 2uniform float testArray[5]; 3 4half4 main(float2 coords) { 5 float one = testArray[0]; 6 float two = testArray[1]; 7 float three = testArray[2]; 8 half four = half(testArray[3]); 9 half five = half(testArray[4]); 10 11 return (fma(one, two, three) == (1 * 2 + 3)) && 12 (fma(half(three), four, five) == (3 * 4 + 5)) && 13 (fma(6, 7, 8) == (6 * 7 + 8)) ? colorGreen : colorRed; 14} 15