dawn-cmake/test/tint/ptr_ref/load/local/ptr_storage.wgsl.expected.glsl

20 lines
267 B
GLSL

#version 310 es
struct S {
int a;
};
layout(binding = 0, std430) buffer v_block_ssbo {
S inner;
} v;
void tint_symbol() {
int u = (v.inner.a + 1);
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
tint_symbol();
return;
}