dawn-cmake/test/expressions/swizzle/write/vec3/u32.wgsl.expected.glsl

19 lines
259 B
GLSL

#version 310 es
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void unused_entry_point() {
return;
}
struct S {
uvec3 v;
};
S P = S(uvec3(0u, 0u, 0u));
void f() {
P.v = uvec3(1u, 2u, 3u);
P.v.x = 1u;
P.v.y = 2u;
P.v.z = 3u;
}