#version 310 es | |
struct S { | |
vec3 v; | |
uint tint_pad_0; | |
}; | |
layout(binding = 0, std430) | |
buffer U_block_1_ssbo { | |
S inner; | |
} v_1; | |
void f() { | |
v_1.inner.v = vec3(1.0f, 2.0f, 3.0f); | |
v_1.inner.v[0u] = 1.0f; | |
v_1.inner.v[1u] = 2.0f; | |
v_1.inner.v[2u] = 3.0f; | |
} | |
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; | |
void main() { | |
} |