| SKIP: FAILED |
| |
| #version 310 es |
| precision highp float; |
| precision highp int; |
| |
| layout(binding = 0, std430) |
| buffer tint_symbol_1_1_ssbo { |
| uvec2 tint_symbol; |
| } v; |
| uvec2 countLeadingZeros_70783f() { |
| uvec2 arg_0 = uvec2(1u); |
| uvec2 v_1 = arg_0; |
| uint v_2 = (((v_1 <= uvec2(65535u)).x) ? (uvec2(16u).x) : (uvec2(0u).x)); |
| uvec2 v_3 = uvec2(v_2, (((v_1 <= uvec2(65535u)).y) ? (uvec2(16u).y) : (uvec2(0u).y))); |
| uint v_4 = ((((v_1 << v_3) <= uvec2(16777215u)).x) ? (uvec2(8u).x) : (uvec2(0u).x)); |
| uvec2 v_5 = uvec2(v_4, ((((v_1 << v_3) <= uvec2(16777215u)).y) ? (uvec2(8u).y) : (uvec2(0u).y))); |
| uint v_6 = (((((v_1 << v_3) << v_5) <= uvec2(268435455u)).x) ? (uvec2(4u).x) : (uvec2(0u).x)); |
| uvec2 v_7 = uvec2(v_6, (((((v_1 << v_3) << v_5) <= uvec2(268435455u)).y) ? (uvec2(4u).y) : (uvec2(0u).y))); |
| uint v_8 = ((((((v_1 << v_3) << v_5) << v_7) <= uvec2(1073741823u)).x) ? (uvec2(2u).x) : (uvec2(0u).x)); |
| uvec2 v_9 = uvec2(v_8, ((((((v_1 << v_3) << v_5) << v_7) <= uvec2(1073741823u)).y) ? (uvec2(2u).y) : (uvec2(0u).y))); |
| uint v_10 = (((((((v_1 << v_3) << v_5) << v_7) << v_9) <= uvec2(2147483647u)).x) ? (uvec2(1u).x) : (uvec2(0u).x)); |
| uvec2 v_11 = uvec2(v_10, (((((((v_1 << v_3) << v_5) << v_7) << v_9) <= uvec2(2147483647u)).y) ? (uvec2(1u).y) : (uvec2(0u).y))); |
| uint v_12 = (((((((v_1 << v_3) << v_5) << v_7) << v_9) == uvec2(0u)).x) ? (uvec2(1u).x) : (uvec2(0u).x)); |
| uvec2 v_13 = uvec2(v_12, (((((((v_1 << v_3) << v_5) << v_7) << v_9) == uvec2(0u)).y) ? (uvec2(1u).y) : (uvec2(0u).y))); |
| uvec2 res = ((v_3 | (v_5 | (v_7 | (v_9 | (v_11 | v_13))))) + v_13); |
| return res; |
| } |
| void main() { |
| v.tint_symbol = countLeadingZeros_70783f(); |
| } |
| error: Error parsing GLSL shader: |
| ERROR: 0:12: '<=' : wrong operand types: no operation '<=' exists that takes a left-hand operand of type ' temp highp 2-component vector of uint' and a right operand of type ' const 2-component vector of uint' (or there is no acceptable conversion) |
| ERROR: 0:12: '' : compilation terminated |
| ERROR: 2 compilation errors. No code generated. |
| |
| |
| |
| #version 310 es |
| |
| layout(binding = 0, std430) |
| buffer tint_symbol_1_1_ssbo { |
| uvec2 tint_symbol; |
| } v; |
| uvec2 countLeadingZeros_70783f() { |
| uvec2 arg_0 = uvec2(1u); |
| uvec2 v_1 = arg_0; |
| uint v_2 = (((v_1 <= uvec2(65535u)).x) ? (uvec2(16u).x) : (uvec2(0u).x)); |
| uvec2 v_3 = uvec2(v_2, (((v_1 <= uvec2(65535u)).y) ? (uvec2(16u).y) : (uvec2(0u).y))); |
| uint v_4 = ((((v_1 << v_3) <= uvec2(16777215u)).x) ? (uvec2(8u).x) : (uvec2(0u).x)); |
| uvec2 v_5 = uvec2(v_4, ((((v_1 << v_3) <= uvec2(16777215u)).y) ? (uvec2(8u).y) : (uvec2(0u).y))); |
| uint v_6 = (((((v_1 << v_3) << v_5) <= uvec2(268435455u)).x) ? (uvec2(4u).x) : (uvec2(0u).x)); |
| uvec2 v_7 = uvec2(v_6, (((((v_1 << v_3) << v_5) <= uvec2(268435455u)).y) ? (uvec2(4u).y) : (uvec2(0u).y))); |
| uint v_8 = ((((((v_1 << v_3) << v_5) << v_7) <= uvec2(1073741823u)).x) ? (uvec2(2u).x) : (uvec2(0u).x)); |
| uvec2 v_9 = uvec2(v_8, ((((((v_1 << v_3) << v_5) << v_7) <= uvec2(1073741823u)).y) ? (uvec2(2u).y) : (uvec2(0u).y))); |
| uint v_10 = (((((((v_1 << v_3) << v_5) << v_7) << v_9) <= uvec2(2147483647u)).x) ? (uvec2(1u).x) : (uvec2(0u).x)); |
| uvec2 v_11 = uvec2(v_10, (((((((v_1 << v_3) << v_5) << v_7) << v_9) <= uvec2(2147483647u)).y) ? (uvec2(1u).y) : (uvec2(0u).y))); |
| uint v_12 = (((((((v_1 << v_3) << v_5) << v_7) << v_9) == uvec2(0u)).x) ? (uvec2(1u).x) : (uvec2(0u).x)); |
| uvec2 v_13 = uvec2(v_12, (((((((v_1 << v_3) << v_5) << v_7) << v_9) == uvec2(0u)).y) ? (uvec2(1u).y) : (uvec2(0u).y))); |
| uvec2 res = ((v_3 | (v_5 | (v_7 | (v_9 | (v_11 | v_13))))) + v_13); |
| return res; |
| } |
| layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; |
| void main() { |
| v.tint_symbol = countLeadingZeros_70783f(); |
| } |
| error: Error parsing GLSL shader: |
| ERROR: 0:10: '<=' : wrong operand types: no operation '<=' exists that takes a left-hand operand of type ' temp highp 2-component vector of uint' and a right operand of type ' const 2-component vector of uint' (or there is no acceptable conversion) |
| ERROR: 0:10: '' : compilation terminated |
| ERROR: 2 compilation errors. No code generated. |
| |
| |
| |
| #version 310 es |
| |
| |
| struct VertexOutput { |
| vec4 pos; |
| uvec2 prevent_dce; |
| }; |
| |
| layout(location = 0) flat out uvec2 vertex_main_loc0_Output; |
| uvec2 countLeadingZeros_70783f() { |
| uvec2 arg_0 = uvec2(1u); |
| uvec2 v = arg_0; |
| uint v_1 = (((v <= uvec2(65535u)).x) ? (uvec2(16u).x) : (uvec2(0u).x)); |
| uvec2 v_2 = uvec2(v_1, (((v <= uvec2(65535u)).y) ? (uvec2(16u).y) : (uvec2(0u).y))); |
| uint v_3 = ((((v << v_2) <= uvec2(16777215u)).x) ? (uvec2(8u).x) : (uvec2(0u).x)); |
| uvec2 v_4 = uvec2(v_3, ((((v << v_2) <= uvec2(16777215u)).y) ? (uvec2(8u).y) : (uvec2(0u).y))); |
| uint v_5 = (((((v << v_2) << v_4) <= uvec2(268435455u)).x) ? (uvec2(4u).x) : (uvec2(0u).x)); |
| uvec2 v_6 = uvec2(v_5, (((((v << v_2) << v_4) <= uvec2(268435455u)).y) ? (uvec2(4u).y) : (uvec2(0u).y))); |
| uint v_7 = ((((((v << v_2) << v_4) << v_6) <= uvec2(1073741823u)).x) ? (uvec2(2u).x) : (uvec2(0u).x)); |
| uvec2 v_8 = uvec2(v_7, ((((((v << v_2) << v_4) << v_6) <= uvec2(1073741823u)).y) ? (uvec2(2u).y) : (uvec2(0u).y))); |
| uint v_9 = (((((((v << v_2) << v_4) << v_6) << v_8) <= uvec2(2147483647u)).x) ? (uvec2(1u).x) : (uvec2(0u).x)); |
| uvec2 v_10 = uvec2(v_9, (((((((v << v_2) << v_4) << v_6) << v_8) <= uvec2(2147483647u)).y) ? (uvec2(1u).y) : (uvec2(0u).y))); |
| uint v_11 = (((((((v << v_2) << v_4) << v_6) << v_8) == uvec2(0u)).x) ? (uvec2(1u).x) : (uvec2(0u).x)); |
| uvec2 v_12 = uvec2(v_11, (((((((v << v_2) << v_4) << v_6) << v_8) == uvec2(0u)).y) ? (uvec2(1u).y) : (uvec2(0u).y))); |
| uvec2 res = ((v_2 | (v_4 | (v_6 | (v_8 | (v_10 | v_12))))) + v_12); |
| return res; |
| } |
| VertexOutput vertex_main_inner() { |
| VertexOutput tint_symbol = VertexOutput(vec4(0.0f), uvec2(0u)); |
| tint_symbol.pos = vec4(0.0f); |
| tint_symbol.prevent_dce = countLeadingZeros_70783f(); |
| return tint_symbol; |
| } |
| void main() { |
| VertexOutput v_13 = vertex_main_inner(); |
| gl_Position = v_13.pos; |
| gl_Position[1u] = -(gl_Position.y); |
| gl_Position[2u] = ((2.0f * gl_Position.z) - gl_Position.w); |
| vertex_main_loc0_Output = v_13.prevent_dce; |
| gl_PointSize = 1.0f; |
| } |
| error: Error parsing GLSL shader: |
| ERROR: 0:13: '<=' : wrong operand types: no operation '<=' exists that takes a left-hand operand of type ' temp highp 2-component vector of uint' and a right operand of type ' const 2-component vector of uint' (or there is no acceptable conversion) |
| ERROR: 0:13: '' : compilation terminated |
| ERROR: 2 compilation errors. No code generated. |
| |
| |
| |
| |
| tint executable returned error: exit status 1 |