xemu/subprojects/SPIRV-Reflect/tests/variable_access/copy_array_2.glsl

16 lines
229 B
GLSL

#version 450
layout(set = 0, binding = 0, std430) buffer foo1 {
uvec4 a;
uint b[4];
uint c;
};
layout(set = 0, binding = 1, std430) buffer foo2 {
uint d;
uint e[4];
uvec2 f;
};
void main() {
b = e;
}