Front-end: Complete GL_ARB_compute_shader, previous commit was missing new barriers.

This amends the previous commit, which ommitted barriers in version 420 for compute shader.
This commit is contained in:
John Kessenich
2016-05-30 19:38:39 -06:00
parent d94c003fb7
commit 548c3adecd
3 changed files with 31 additions and 2 deletions

View File

@@ -19,4 +19,12 @@ void main()
gl_MaxComputeImageUniforms +
gl_MaxComputeAtomicCounters +
gl_MaxComputeAtomicCounterBuffers;
barrier();
memoryBarrier();
memoryBarrierAtomicCounter();
memoryBarrierBuffer();
memoryBarrierImage();
memoryBarrierShared();
groupMemoryBarrier();
}