dawn-cmake/test/tint/var/initialization/workgroup/struct.wgsl.expected.glsl

22 lines
324 B
GLSL

#version 310 es
struct S {
int a;
float b;
};
shared S v;
void tint_symbol(uint local_invocation_index) {
{
S tint_symbol_1 = S(0, 0.0f);
v = tint_symbol_1;
}
barrier();
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol(gl_LocalInvocationIndex);
return;
}