From 5d7bcac4e711bc278eabf198d7d5016b77d9eb0e Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 31 Jul 2019 22:50:56 +0100 Subject: [PATCH] nir: remove explicit nir_intrinsic_index_flag values These were left after a rebase and happen to make NIR_INTRINSIC_SWIZZLE_MASK == NIR_INTRINSIC_SRC_ACCESS, which is how it was noticed. Fixes: 6f20643b471a851c936f ("nir: Allow qualifiers on copy_deref and image instructions") Cc: Connor Abbott Signed-off-by: Eric Engestrom Reviewed-by: Caio Marcelo de Oliveira Filho Reviewed-by: Eric Anholt --- 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 7671f8caffb..831c1967f58 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -1440,8 +1440,8 @@ typedef enum { NIR_INTRINSIC_SWIZZLE_MASK, /* Separate source/dest access flags for copies */ - NIR_INTRINSIC_SRC_ACCESS = 21, - NIR_INTRINSIC_DST_ACCESS = 22, + NIR_INTRINSIC_SRC_ACCESS, + NIR_INTRINSIC_DST_ACCESS, NIR_INTRINSIC_NUM_INDEX_FLAGS, -- 2.30.2