[Mesa-dev] [PATCH 06/10] nir/builder: undefine macros upon completion
Emil Velikov
emil.l.velikov at gmail.com
Wed Oct 7 03:11:33 PDT 2015
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/glsl/nir/nir_builder.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/glsl/nir/nir_builder.h b/src/glsl/nir/nir_builder.h
index 624329d..398de24 100644
--- a/src/glsl/nir/nir_builder.h
+++ b/src/glsl/nir/nir_builder.h
@@ -188,6 +188,11 @@ nir_##op(nir_builder *build, nir_ssa_def *src0, \
#include "nir_builder_opcodes.h"
+#undef ALU4
+#undef ALU3
+#undef ALU2
+#undef ALU1
+
static inline nir_ssa_def *
nir_vec(nir_builder *build, nir_ssa_def **comp, unsigned num_components)
{
--
2.5.0
More information about the mesa-dev
mailing list