8 layout(binding= 0, std430) readonly buffer inputData
13 layout(binding= 1, std430) coherent buffer tmpData
21 layout(local_size_x= 1024) in;
24 uint
id= gl_GlobalInvocationID.x;
27 tmp[N/2+id]=
min(data[
id*2], data[
id*2+1]);
30 tmp[n/2+id]=
min(tmp[n+
id*2], tmp[n+
id*2+1]);
Point min(const Point &a, const Point &b)
renvoie la plus petite composante de chaque point. x, y, z= min(a.x, b.x), min(a.y,...