blob: 7772785a9321f5fbf0327a4fd9ad8ac18a04f568 [file] [log] [blame]
#version 400
out vec4 sk_FragColor;
uniform vec4 colorGreen;
uniform vec4 colorRed;
uniform float testArray[5];
vec4 main() {
float one = testArray[0];
float two = testArray[1];
float three = testArray[2];
float four = testArray[3];
float five = testArray[4];
return ((one) * (two) + (three)) == 5.0 && ((three) * (four) + (five)) == 17.0 ? colorGreen : colorRed;
}