8 layout(binding= 0, std430) readonly buffer inputData
13 layout(binding= 1, std430) coherent buffer tmpData
23 layout(local_size_x= 1024) in;
26 uint
id= gl_GlobalInvocationID.x;
28 if(gl_LocalInvocationID.x == 0)
32 memoryBarrierShared();
35 atomicMin(min_group, data[
id]);
37 if(gl_LocalInvocationID.x == 0)
38 atomicMin(tmp[1], min_group);
41 layout(local_size_x= 1024) in;
44 uint
id= gl_GlobalInvocationID.x;
47 atomicMin(tmp[1], data[
id]);