dawn-cmake/test/tint/bug/tint/1563.wgsl.expected.glsl

15 lines
281 B
GLSL

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
float foo() {
int oob = 99;
float b = vec4(0.0f)[min(uint(oob), 3u)];
vec4 v = vec4(0.0f, 0.0f, 0.0f, 0.0f);
v[min(uint(oob), 3u)] = b;
return b;
}