shader: Implement MEMBAR.GL

Implement using memoryBarrier in GLSL and OpMemoryBarrier on SPIR-V.
This commit is contained in:
ReinUsesLisp
2019-12-10 16:45:03 -03:00
parent 6edadef96d
commit 425a254fa2
6 changed files with 47 additions and 2 deletions
+2
View File
@@ -189,6 +189,8 @@ enum class OperationCode {
ThreadId, /// () -> uint
ShuffleIndexed, /// (uint value, uint index) -> uint
MemoryBarrierGL, /// () -> void
Amount,
};