aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <[email protected]>2020-02-20 09:47:06 -0800
committerMarge Bot <[email protected]>2020-03-12 19:21:36 +0000
commit67fc88fbb9af53924dbaf8634ec7b1fb069ec340 (patch)
treef8bdadb34d5c118d8b3a9a1a10b126e91e19dbe1 /src/compiler
parenta46e9f4d9ac827e4e5ecfee4bf24e38cb09e349b (diff)
nir: Don't skip a bit in nir_memory_semantics
There was another enum entry in the draft versions of nir_memory_semantics, but when it got dropped the entries were not updated. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3224>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index c41e78538f0..7924212b521 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -1451,8 +1451,8 @@ typedef enum {
NIR_MEMORY_ACQ_REL = NIR_MEMORY_ACQUIRE | NIR_MEMORY_RELEASE,
/* Memory visibility operations. */
- NIR_MEMORY_MAKE_AVAILABLE = 1 << 3,
- NIR_MEMORY_MAKE_VISIBLE = 1 << 4,
+ NIR_MEMORY_MAKE_AVAILABLE = 1 << 2,
+ NIR_MEMORY_MAKE_VISIBLE = 1 << 3,
} nir_memory_semantics;
typedef enum {