blob: f1f6f0f46268164c5eee6c3dc4ece604ccd3e150 [file] [log] [blame]
SKIP: FAILED
#version 310 es
struct buf0 {
float one;
};
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() {
float f = 0.0f;
f = 1.0f;
{
while(true) {
float x_31 = x_6.one;
float x_32 = f;
f = (x_32 + x_31);
{
float x_34 = f;
float x_36 = x_6.one;
if (!((10.0f > clamp(x_34, 8.0f, (9.0f + x_36))))) { break; }
}
continue;
}
}
float x_40 = f;
if ((x_40 == 10.0f)) {
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:4: 'float' : type requires declaration of default precision qualifier
ERROR: 0:4: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
tint executable returned error: exit status 1