blob: 96d86e96eed34635643af5d74bc8806839bc6150 [file] [log] [blame]
SKIP: FAILED
#version 310 es
precision highp float;
precision highp int;
struct buf0 {
float two;
};
struct main_out {
vec4 x_GLF_color_1;
};
vec4 tint_symbol = vec4(0.0f);
layout(binding = 0, std140)
uniform tint_symbol_4_1_ubo {
buf0 tint_symbol_3;
} v;
vec4 x_GLF_color = vec4(0.0f);
layout(location = 0) out vec4 tint_symbol_1_loc0_Output;
void main_1() {
float a = 0.0f;
float b = 0.0f;
float x_33 = tint_symbol.x;
a = dFdx(cos(x_33));
float x_37 = v.tint_symbol_3.two;
float x_38 = a;
b = mix(2.0f, x_37, x_38);
float x_40 = b;
float x_42 = b;
if (((x_40 >= 1.89999997615814208984f) & (x_42 <= 2.09999990463256835938f))) {
x_GLF_color = vec4(1.0f, 0.0f, 0.0f, 1.0f);
} else {
x_GLF_color = vec4(0.0f);
}
}
main_out tint_symbol_1_inner(vec4 tint_symbol_2) {
tint_symbol = tint_symbol_2;
main_1();
return main_out(x_GLF_color);
}
void main() {
tint_symbol_1_loc0_Output = tint_symbol_1_inner(gl_FragCoord).x_GLF_color_1;
}
error: Error parsing GLSL shader:
ERROR: 0:31: '&' : wrong operand types: no operation '&' exists that takes a left-hand operand of type ' temp bool' and a right operand of type ' temp bool' (or there is no acceptable conversion)
ERROR: 0:31: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
tint executable returned error: exit status 1