blob: 17ede29a10edcf6b5f1274b7325decc086ee1444 [file] [log] [blame]
SKIP: FAILED
#version 310 es
uvec3 tint_div_v3u32(uvec3 lhs, uvec3 rhs) {
uint v = (((rhs == uvec3(0u)).x) ? (uvec3(1u).x) : (rhs.x));
uint v_1 = (((rhs == uvec3(0u)).y) ? (uvec3(1u).y) : (rhs.y));
return (lhs / uvec3(v, v_1, (((rhs == uvec3(0u)).z) ? (uvec3(1u).z) : (rhs.z))));
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
uint a = 4u;
uvec3 b = uvec3(1u, 2u, 3u);
uvec3 r = tint_div_v3u32(uvec3(a), b);
}
error: Error parsing GLSL shader:
ERROR: 0:4: 'scalar swizzle' : not supported with this profile: es
ERROR: 0:4: '' : compilation terminated
ERROR: 2 compilation errors. No code generated.
tint executable returned error: exit status 1