I have a very large SSBO unbounded array:
struct PStruct{
vec2 P1;
vec2 P2;
}
layout(std430) buffer MyList
{
PStruct list[];
}
In my shader code i need to copy chunks of this array say from start-end indexes 1000-2000 to start-end indexes 50000-51000. Is there any way i can do it fast instead of copying element by element in a for-loop?