2022-01-06 15:31:21 +00:00
SKIP: FAILED
2022-02-02 23:07:11 +00:00
warning: use of deprecated builtin
2022-01-06 15:31:21 +00:00
#version 310 es
precision mediump float;
2022-01-28 22:36:58 +00:00
layout(location = 0) out vec4 x_GLF_color_1_1;
2022-02-04 23:09:23 +00:00
struct strided_arr {
2022-01-06 15:31:21 +00:00
int el;
};
2022-01-26 16:48:55 +00:00
2022-01-06 15:31:21 +00:00
struct buf1 {
2022-02-04 23:09:23 +00:00
strided_arr x_GLF_uniform_int_values[2];
2022-01-06 15:31:21 +00:00
};
2022-01-26 16:48:55 +00:00
2022-02-04 23:09:23 +00:00
struct strided_arr_1 {
2022-01-06 15:31:21 +00:00
float el;
};
2022-01-26 16:48:55 +00:00
2022-01-06 15:31:21 +00:00
struct buf0 {
2022-02-04 23:09:23 +00:00
strided_arr_1 x_GLF_uniform_float_values[1];
2022-01-06 15:31:21 +00:00
};
vec4 x_GLF_color = vec4(0.0f, 0.0f, 0.0f, 0.0f);
2022-01-25 20:06:05 +00:00
layout(binding = 1) uniform buf1_1 {
2022-02-04 23:09:23 +00:00
strided_arr x_GLF_uniform_int_values[2];
2022-01-06 15:31:21 +00:00
} x_8;
void main_1() {
float f0 = 0.0f;
float s1 = 0.0f;
float f1 = 0.0f;
bool x_72 = false;
bool x_73_phi = false;
f0 = (10.0f - (0.000001f * floor((10.0f / 0.000001f))));
s1 = 9.99999935e-39f;
if ((s1 == 0.0f)) {
s1 = 1.0f;
}
bool x_62 = false;
bool x_71 = false;
bool x_63_phi = false;
bool x_72_phi = false;
float x_42 = s1;
f1 = (10.0f - (x_42 * floor((10.0f / x_42))));
bool x_48 = (isinf(f1) | (s1 == 1.0f));
x_73_phi = x_48;
if (!(x_48)) {
bool x_54 = (f0 == f1);
x_63_phi = x_54;
if (!(x_54)) {
x_62 = ((f0 > 0.99000001f) & (f0 < 0.01f));
x_63_phi = x_62;
}
bool x_63 = x_63_phi;
x_72_phi = x_63;
if (!(x_63)) {
x_71 = ((f1 > 0.99000001f) & (f1 < 0.01f));
x_72_phi = x_71;
}
x_72 = x_72_phi;
x_73_phi = x_72;
}
if ((x_73_phi | (f1 == 10.0f))) {
int x_81 = x_8.x_GLF_uniform_int_values[1].el;
int x_84 = x_8.x_GLF_uniform_int_values[0].el;
int x_87 = x_8.x_GLF_uniform_int_values[0].el;
int x_90 = x_8.x_GLF_uniform_int_values[1].el;
x_GLF_color = vec4(float(x_81), float(x_84), float(x_87), float(x_90));
} else {
int x_94 = x_8.x_GLF_uniform_int_values[0].el;
float x_95 = float(x_94);
x_GLF_color = vec4(x_95, x_95, x_95, x_95);
}
return;
}
struct main_out {
vec4 x_GLF_color_1;
};
2022-01-26 16:48:55 +00:00
2022-01-28 22:36:58 +00:00
main_out tint_symbol() {
2022-01-06 15:31:21 +00:00
main_1();
2022-01-28 22:36:58 +00:00
main_out tint_symbol_1 = main_out(x_GLF_color);
return tint_symbol_1;
2022-01-06 15:31:21 +00:00
}
void main() {
2022-01-28 22:36:58 +00:00
main_out inner_result = tint_symbol();
x_GLF_color_1_1 = inner_result.x_GLF_color_1;
return;
2022-01-06 15:31:21 +00:00
}
Error parsing GLSL shader:
2022-01-28 22:36:58 +00:00
ERROR: 0:43: '|' : wrong operand types: no operation '|' exists that takes a left-hand operand of type ' global bool' and a right operand of type ' temp bool' (or there is no acceptable conversion)
2022-02-04 23:09:23 +00:00
ERROR: 0:43: '' : compilation terminated
2022-01-06 15:31:21 +00:00
ERROR: 2 compilation errors. No code generated.