blob: 9a5d422b39bdfb686d7d4c1c06603c4db23d8f18 [file] [log] [blame]
SKIP: FAILED
#version 310 es
struct S {
float field0;
float age;
};
precision highp float;
precision highp int;
S myvar = S(0.0f, 0.0f);
void main_1() {
myvar.age = 42.0f;
}
void main() {
main_1();
}
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