From: Eric Engestrom Date: Wed, 31 Jul 2019 21:50:56 +0000 (+0100) Subject: nir: remove explicit nir_intrinsic_index_flag values X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d7bcac4e711bc278eabf198d7d5016b77d9eb0e;p=mesa.git 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 --- 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,