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

11 lines
187 B
GLSL

#version 450
layout(set = 0, binding = 0) buffer foo {
uvec4 a; // not used
uint b[4]; // used
uint c; // not used
};
void main() {
uint d[4] = {4, 5, 6, 7};
b = d;
}