Added compute shader execution barrier

Closes #374
This commit is contained in:
saschawillems 2017-11-13 21:06:19 +01:00
parent 9393c63533
commit 6c5de48c22
2 changed files with 1 additions and 0 deletions

View file

@ -57,6 +57,7 @@ void main()
} }
memoryBarrierShared(); memoryBarrierShared();
barrier();
for (int j = 0; j < gl_WorkGroupSize.x; j++) for (int j = 0; j < gl_WorkGroupSize.x; j++)
{ {