summaryrefslogtreecommitdiffstats
path: root/src/glsl/nir/nir_intrinsics.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-03-13 12:03:15 -0700
committerJordan Justen <[email protected]>2015-06-12 15:12:40 -0700
commit2867f2e8cd54e2cbb38140e2e0f5521973091ace (patch)
treee8da6f2b0b6f30757d9b4878c20bb22bf4605258 /src/glsl/nir/nir_intrinsics.h
parent86855365b4059c60a9e1dcc0b7713941a2507bd0 (diff)
nir: Add barrier intrinsic function
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Chris Forbes <[email protected]> Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/glsl/nir/nir_intrinsics.h')
-rw-r--r--src/glsl/nir/nir_intrinsics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/nir/nir_intrinsics.h b/src/glsl/nir/nir_intrinsics.h
index b516830be95..bc6e6b8f498 100644
--- a/src/glsl/nir/nir_intrinsics.h
+++ b/src/glsl/nir/nir_intrinsics.h
@@ -67,6 +67,7 @@ INTRINSIC(interp_var_at_offset, 1, ARR(2), true, 0, 1, 0,
*/
#define BARRIER(name) INTRINSIC(name, 0, ARR(), false, 0, 0, 0, 0)
+BARRIER(barrier)
BARRIER(discard)
/*