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: 6f20643b47 ("nir: Allow qualifiers on copy_deref and image instructions")
Cc: Connor Abbott <cwabbott0@gmail.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Eric Engestrom
2019-07-31 22:50:56 +01:00
parent 830a8e6c47
commit 5d7bcac4e7

View File

@@ -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,