blob: 260610de85bbf31139300aa6de4665403a84e019 [file] [log] [blame]
SKIP: FAILED
#version 310 es
precision highp float;
precision highp int;
struct strided_arr {
float el;
};
struct buf0 {
strided_arr x_GLF_uniform_float_values[2];
};
struct main_out {
vec4 x_GLF_color_1;
};
vec4 x_GLF_color = vec4(0.0f);
layout(binding = 0, std140)
uniform tint_symbol_2_1_ubo {
buf0 tint_symbol_1;
} v;
layout(location = 0) out vec4 tint_symbol_loc0_Output;
void main_1() {
float a = 0.0f;
float b = 0.0f;
float c = 0.0f;
a = -1.0f;
b = 1.70000004768371582031f;
c = pow(a, b);
x_GLF_color = vec4(c);
if (((a == -1.0f) & (b == 1.70000004768371582031f))) {
x_GLF_color = vec4(v.tint_symbol_1.x_GLF_uniform_float_values[0].el, v.tint_symbol_1.x_GLF_uniform_float_values[1].el, v.tint_symbol_1.x_GLF_uniform_float_values[1].el, v.tint_symbol_1.x_GLF_uniform_float_values[0].el);
} else {
x_GLF_color = vec4(v.tint_symbol_1.x_GLF_uniform_float_values[0].el);
}
}
main_out tint_symbol_inner() {
main_1();
return main_out(x_GLF_color);
}
void main() {
tint_symbol_loc0_Output = tint_symbol_inner().x_GLF_color_1;
}
error: Error parsing GLSL shader:
ERROR: 0:32: '&' : 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:32: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
tint executable returned error: exit status 1