SPIRV-Cross/reference/shaders-no-opt/comp/loop-resolve-debug-semantics.gV.comp
2023-01-12 12:41:53 +01:00

17 lines
227 B
Plaintext

#version 450
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
layout(binding = 0, std430) buffer SSBO
{
int v[];
} _64;
void main()
{
for (int i = 0; i < 4; i++)
{
_64.v[i] += 10;
}
}