Skip to content
Snippets Groups Projects
Verified Commit 3f39a64c authored by Josch Morgenstern's avatar Josch Morgenstern
Browse files

fix artifacts in 3d texture on devices with > 64SM

parent 9a981a0d
No related branches found
No related tags found
1 merge request!103Added project wobble_bobble and refactored some parts of the framework
...@@ -36,6 +36,7 @@ void main() { ...@@ -36,6 +36,7 @@ void main() {
shared_particles[gl_LocalInvocationIndex].mass = 0.0f; shared_particles[gl_LocalInvocationIndex].mass = 0.0f;
} }
barrier();
memoryBarrierShared(); memoryBarrierShared();
for (uint i = 0; i < SHARED_PARTICLES_BATCH_SIZE; i++) { for (uint i = 0; i < SHARED_PARTICLES_BATCH_SIZE; i++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment