[Mesa-dev] [PATCH 08/10] nir/intrinsics: be a good citizen and undefine the macros

Emil Velikov emil.l.velikov at gmail.com
Wed Oct 7 03:11:35 PDT 2015


Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---

Side note: we should probably convert nir_intrinsics.[ch] to python/mako 
and remove the unusual macros ?

-Emil

 src/glsl/nir/nir_intrinsics.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/glsl/nir/nir_intrinsics.c b/src/glsl/nir/nir_intrinsics.c
index a7c868c..89f4df9 100644
--- a/src/glsl/nir/nir_intrinsics.c
+++ b/src/glsl/nir/nir_intrinsics.c
@@ -46,4 +46,8 @@
 
 const nir_intrinsic_info nir_intrinsic_infos[nir_num_intrinsics] = {
 #include "nir_intrinsics.h"
-};
\ No newline at end of file
+};
+
+#undef INTRINSIC
+#undef LAST_INTRINSIC
+#undef OPCODE
-- 
2.5.0



More information about the mesa-dev mailing list