23 lines
333 B
Plaintext
23 lines
333 B
Plaintext
|
#version 450
|
||
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
||
|
|
||
|
layout(binding = 0, std430) buffer STO
|
||
|
{
|
||
|
uint data[];
|
||
|
} ssbo;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
while (true)
|
||
|
{
|
||
|
ssbo.data[0]++;
|
||
|
if (ssbo.data[2] != 0u)
|
||
|
{
|
||
|
ssbo.data[5]++;
|
||
|
continue;
|
||
|
}
|
||
|
break;
|
||
|
}
|
||
|
}
|
||
|
|