nir: remove explicit nir_intrinsic_index_flag values
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Jul 2019 21:50:56 +0000 (22:50 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Jul 2019 22:28:20 +0000 (23:28 +0100)
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 <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>
src/compiler/nir/nir.h

index 7671f8caffbd17474e078a41f6b5d03c9bacfcb8..831c1967f583cee3f91868a97f95922f9f9c8bf1 100644 (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,