From 67fc88fbb9af53924dbaf8634ec7b1fb069ec340 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Thu, 20 Feb 2020 09:47:06 -0800 Subject: [PATCH] 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 Reviewed-by: Jason Ekstrand Part-of: --- src/compiler/nir/nir.h | 4 ++-- 1 file 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 { -- 2.30.2