SPIRV-Cross/shaders-msl-no-opt/packing/array-of-vec4.comp

14 lines
189 B
Plaintext

#version 450
#extension GL_EXT_scalar_block_layout : require
layout(local_size_x = 1) in;
layout(set = 0, binding = 0, scalar) buffer SSBO
{
vec4 v[16];
};
void main()
{
v[1] = v[0];
}