blob: 284d6d6033aa63cc9b46b58a70e835ed428c547f [file] [log] [blame]
SKIP: FAILED
#version 310 es
struct buf0 {
int zero;
};
struct main_out {
vec4 x_GLF_color_1;
};
precision highp float;
precision highp int;
uniform buf0 x_6;
vec4 x_GLF_color = vec4(0.0f);
void main_1() {
int a = 0;
int x_25 = x_6.zero;
a = x_25;
int x_26 = a;
if ((x_26 == 0)) {
int x_31 = a;
a = (x_31 + 1);
} else {
int x_33 = a;
a = (x_33 + 1);
}
int x_35 = a;
if ((x_35 == 1)) {
x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
} else {
x_GLF_color = vec4(0.0f);
}
}
main_out main() {
main_1();
return main_out(x_GLF_color);
}
error: Error parsing GLSL shader:
ERROR: 0:8: 'float' : type requires declaration of default precision qualifier
ERROR: 0:8: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
tint executable returned error: exit status 1