diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-02-03 20:23:41 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2020-02-16 09:16:47 -0500 |
commit | 3f59098d1a7a00d51e2b15e06aba359835c7e1ea (patch) | |
tree | 1f5068a6ca87a7cc32cc97552576a09260651498 /src/panfrost/midgard/helpers.h | |
parent | 4f0b928921dfb3ed63642ab1ce1c925fbac9f51b (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3835>
Diffstat (limited to 'src/panfrost/midgard/helpers.h')
-rw-r--r-- | src/panfrost/midgard/helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |