From: Caio Marcelo de Oliveira Filho Date: Thu, 20 Feb 2020 17:47:06 +0000 (-0800) Subject: nir: Don't skip a bit in nir_memory_semantics X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67fc88fbb9af53924dbaf8634ec7b1fb069ec340;p=mesa.git 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: --- 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 {