SPIRV-Cross/shaders-hlsl/comp/ssbo-store-array.comp
2023-09-28 23:58:51 +02:00

20 lines
170 B
Plaintext

#version 460
struct Data
{
uint arr[3];
};
layout(set = 0, binding = 0, std430) buffer B0
{
Data d[];
};
void main()
{
Data d1;
d[0].arr = d1.arr;
}