blob: 5518cd346274a4e4b27290081ceebd8953eceb5d [file] [log] [blame]
uniform half4 colorGreen, colorRed;
const int SEVEN = 7, TEN = 10;
const half4x4 MATRIXFIVE = half4x4(5);
noinline bool verify_const_globals(int seven, int ten, half4x4 matrixFive) {
return seven == 7 && ten == 10 && matrixFive == half4x4(5);
}
half4 main(float2 xy) {
return verify_const_globals(SEVEN, TEN, MATRIXFIVE) ? colorGreen : colorRed;
}