summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-08-05 23:45:37 -0700
committerEric Anholt <eric@anholt.net>2016-08-19 13:11:36 -0700
commit24728637e2c006012e4c0a3d87629b53beaddd3b (patch)
tree916ce785e77e5f688661e39f816c14351b6a127a /src/compiler/nir/nir.h
parentc078c41520214baf469dd4413f868e42c2959c5e (diff)
downloadexternal_mesa3d-24728637e2c006012e4c0a3d87629b53beaddd3b.zip
external_mesa3d-24728637e2c006012e4c0a3d87629b53beaddd3b.tar.gz
external_mesa3d-24728637e2c006012e4c0a3d87629b53beaddd3b.tar.bz2
nir: Move the undef of nir_intrinsics.h macros to the .h.
I wanted to include this from nir_builder as well, so it also needed the undefs. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r--src/compiler/nir/nir.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 9ce5be2..e09cf3b 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -868,9 +868,6 @@ typedef enum {
nir_num_intrinsics = nir_last_intrinsic + 1
} nir_intrinsic_op;
-#undef INTRINSIC
-#undef LAST_INTRINSIC
-
#define NIR_INTRINSIC_MAX_CONST_INDEX 3
/** Represents an intrinsic