summaryrefslogtreecommitdiff
path: root/src/panfrost/midgard
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2020-12-29 01:08:10 +1300
committerMarge Bot <eric+marge@anholt.net>2021-01-01 02:58:49 +0000
commitab9751759671c6d8ed9d297808bfcc5e2e646f3e (patch)
tree0424a27877f9132563fbe39b51831218548a3f27 /src/panfrost/midgard
parentce5899699997030757ae2cf20fd6fef2e2c27653 (diff)
pan/mdg: Support nir_intrinsic_group_memory_barrier
Treat it like the other memory barriers and do nothing. Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8264>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r--src/panfrost/midgard/midgard_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c
index 6022584b5a9..64e89a1681d 100644
--- a/src/panfrost/midgard/midgard_compile.c
+++ b/src/panfrost/midgard/midgard_compile.c
@@ -1822,6 +1822,7 @@ emit_intrinsic(compiler_context *ctx, nir_intrinsic_instr *instr)
case nir_intrinsic_memory_barrier_buffer:
case nir_intrinsic_memory_barrier_shared:
+ case nir_intrinsic_group_memory_barrier:
break;
case nir_intrinsic_control_barrier: