From 3f59098d1a7a00d51e2b15e06aba359835c7e1ea Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Mon, 3 Feb 2020 20:23:41 -0500 Subject: pan/midgard: Implement barriers Barriers execute on the texture pipeline on Midgard, so let's tentatively handle barrier() as conservatively as possible (forcing memory barriers of both buffers and shared memory). Implementation isn't quite there yet -- it doesn't look at interactions of adjacent barriers like it's supposed to -- but the core is there. Fixes dEQP-GLES31.functional.compute.basic.ssbo_local_barrier_single_invocation Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/midgard/helpers.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/panfrost/midgard/helpers.h') diff --git a/src/panfrost/midgard/helpers.h b/src/panfrost/midgard/helpers.h index 6d1031841a5..9854cf72759 100644 --- a/src/panfrost/midgard/helpers.h +++ b/src/panfrost/midgard/helpers.h @@ -131,6 +131,7 @@ #define TAG_TEXTURE_4_VTX 0x2 #define TAG_TEXTURE_4 0x3 +#define TAG_TEXTURE_4_BARRIER 0x4 #define TAG_LOAD_STORE_4 0x5 #define TAG_ALU_4 0x8 #define TAG_ALU_8 0x9 -- cgit v1.2.3