Merge pull request #818 from Lephar/master

Removed duplicate local_size_x from computecullandlod/cull.comp
This commit is contained in:
Sascha Willems 2021-06-28 22:05:02 +02:00 committed by GitHub
commit 2933cb6ea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,8 +74,6 @@ bool frustumCheck(vec4 pos, float radius)
return true;
}
layout (local_size_x = 16) in;
void main()
{
uint idx = gl_GlobalInvocationID.x + gl_GlobalInvocationID.y * gl_NumWorkGroups.x * gl_WorkGroupSize.x;
@ -119,4 +117,4 @@ void main()
{
indirectDraws[idx].instanceCount = 0;
}
}
}