SPIRV-Cross/shaders-msl-no-opt/packing/array-of-vec3.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
{
vec3 v[16];
};
void main()
{
v[1] = v[0];
}