| SKIP: FAILED |
| |
| #version 310 es |
| |
| struct strided_arr { |
| int el; |
| }; |
| |
| struct buf1 { |
| strided_arr x_GLF_uniform_int_values[5]; |
| }; |
| |
| struct strided_arr_1 { |
| float el; |
| }; |
| |
| struct buf0 { |
| strided_arr_1 x_GLF_uniform_float_values[2]; |
| }; |
| |
| struct main_out { |
| vec4 x_GLF_color_1; |
| }; |
| precision highp float; |
| precision highp int; |
| |
| |
| uniform buf1 x_6; |
| uniform buf0 x_9; |
| vec4 x_GLF_color = vec4(0.0f); |
| void main_1() { |
| vec4 v = vec4(0.0f); |
| int i = 0; |
| int x_40 = x_6.x_GLF_uniform_int_values[1].el; |
| int x_43 = x_6.x_GLF_uniform_int_values[2].el; |
| int x_46 = x_6.x_GLF_uniform_int_values[3].el; |
| int x_49 = x_6.x_GLF_uniform_int_values[0].el; |
| float v_1 = float(x_40); |
| float v_2 = float(x_43); |
| float v_3 = float(x_46); |
| v = vec4(v_1, v_2, v_3, float(x_49)); |
| int x_53 = x_6.x_GLF_uniform_int_values[4].el; |
| i = x_53; |
| { |
| while(true) { |
| int x_58 = i; |
| int x_60 = x_6.x_GLF_uniform_int_values[0].el; |
| if ((x_58 < x_60)) { |
| } else { |
| break; |
| } |
| vec4 x_63 = v; |
| vec4 x_64 = v; |
| vec4 x_65 = v; |
| vec4 x_66 = v; |
| int x_88 = i; |
| float x_92 = x_9.x_GLF_uniform_float_values[0].el; |
| vec4 v_4 = vec4(x_63[0u], x_63[1u], x_63[2u], x_63[3u]); |
| vec4 v_5 = vec4(x_64[0u], x_64[1u], x_64[2u], x_64[3u]); |
| vec4 v_6 = vec4(x_65[0u], x_65[1u], x_65[2u], x_65[3u]); |
| if ((mat4(v_4, v_5, v_6, vec4(x_66[0u], x_66[1u], x_66[2u], x_66[3u]))[0u][x_88] > x_92)) { |
| int x_96 = i; |
| vec4 x_97 = v; |
| float x_99 = x_9.x_GLF_uniform_float_values[1].el; |
| float x_102 = x_9.x_GLF_uniform_float_values[0].el; |
| int x_106 = x_6.x_GLF_uniform_int_values[1].el; |
| vec4 v_7 = vec4(x_99, x_99, x_99, x_99); |
| v[x_96] = clamp(x_97, v_7, vec4(x_102, x_102, x_102, x_102))[x_106]; |
| } |
| { |
| int x_109 = i; |
| i = (x_109 + 1); |
| } |
| continue; |
| } |
| } |
| vec4 x_111 = v; |
| int x_113 = x_6.x_GLF_uniform_int_values[1].el; |
| float x_114 = float(x_113); |
| if (all((x_111 == vec4(x_114, x_114, x_114, x_114)))) { |
| int x_122 = x_6.x_GLF_uniform_int_values[1].el; |
| int x_125 = x_6.x_GLF_uniform_int_values[4].el; |
| int x_128 = x_6.x_GLF_uniform_int_values[4].el; |
| int x_131 = x_6.x_GLF_uniform_int_values[1].el; |
| float v_8 = float(x_122); |
| float v_9 = float(x_125); |
| float v_10 = float(x_128); |
| x_GLF_color = vec4(v_8, v_9, v_10, float(x_131)); |
| } else { |
| int x_135 = x_6.x_GLF_uniform_int_values[4].el; |
| float x_136 = float(x_135); |
| x_GLF_color = vec4(x_136, x_136, x_136, x_136); |
| } |
| } |
| 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 |