mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 21:40:40 +00:00
19 lines
299 B
Plaintext
19 lines
299 B
Plaintext
#version 450
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
layout(binding = 0, std430) buffer SSBO
|
|
{
|
|
uint count;
|
|
uint data[];
|
|
} _5;
|
|
|
|
void main()
|
|
{
|
|
uint _24 = atomicAdd(_5.count, 1u);
|
|
if (_24 < 1024u)
|
|
{
|
|
_5.data[_24] = gl_GlobalInvocationID.x;
|
|
}
|
|
}
|
|
|