From 12f40a80324d7c154f19f25c448a5ce27d38cd18 Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Mon, 9 Dec 2019 21:44:36 -0300 Subject: Add OpMemoryBarrier --- include/sirit/sirit.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/sirit/sirit.h b/include/sirit/sirit.h index aa6b976..a6d267d 100644 --- a/include/sirit/sirit.h +++ b/include/sirit/sirit.h @@ -364,6 +364,11 @@ public: /// Finish the current primitive and start a new one. No vertex is emitted. Id OpEndPrimitive(); + // Barrier + + /// Control the order that memory accesses are observed. + Id OpMemoryBarrier(Id scope, Id semantics); + // Logical /// Result is true if any component of Vector is true, otherwise result is false. -- cgit v1.2.3