blob: f7e3dde58f5b258c06de29d6d0e88085057b31cc [file] [log] [blame]
SKIP: FAILED
#version 310 es
struct buf0 {
int zero;
};
struct Array {
int values[2];
};
struct main_out {
vec4 x_GLF_color_1;
};
precision highp float;
precision highp int;
uniform buf0 x_7;
vec4 x_GLF_color = vec4(0.0f);
void main_1() {
Array a = Array(int[2](0, 0));
Array b = Array(int[2](0, 0));
float one = 0.0f;
int x_10 = x_7.zero;
a.values[x_10] = 1;
b = a;
one = 0.0f;
if ((b.values[x_7.zero] == 1)) {
one = 1.0f;
}
x_GLF_color = vec4(one, 0.0f, 0.0f, 1.0f);
}
main_out main() {
main_1();
return main_out(x_GLF_color);
}
error: Error parsing GLSL shader:
ERROR: 0:12: 'float' : type requires declaration of default precision qualifier
ERROR: 0:12: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
tint executable returned error: exit status 1