4e7777c443
Fix various bugs along the way.
25 lines
357 B
Plaintext
25 lines
357 B
Plaintext
#version 450
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
layout(binding = 0, std430) buffer Buf
|
|
{
|
|
vec4 _data[];
|
|
} Buf_1;
|
|
|
|
layout(binding = 1, std430) buffer Buf_count
|
|
{
|
|
int _count;
|
|
} Buf_count_1;
|
|
|
|
void _main()
|
|
{
|
|
int _29 = atomicAdd(Buf_count_1._count, 1);
|
|
Buf_1._data[_29] = vec4(1.0);
|
|
}
|
|
|
|
void main()
|
|
{
|
|
_main();
|
|
}
|
|
|