Mesa (master): swr: [rasterizer scripts] undef DEFINE_KNOB after usage
Tim Rowley
torowley at kemper.freedesktop.org
Mon Aug 29 17:55:41 UTC 2016
Module: Mesa
Branch: master
Commit: e54df2c7e43badcf4416fc7990a101fdf3e1c07e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e54df2c7e43badcf4416fc7990a101fdf3e1c07e
Author: Tim Rowley <timothy.o.rowley at intel.com>
Date: Tue Aug 23 15:24:09 2016 -0500
swr: [rasterizer scripts] undef DEFINE_KNOB after usage
Signed-off-by: Tim Rowley <timothy.o.rowley at intel.com>
---
src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template b/src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template
index 8dbfafd..1ae45e5 100644
--- a/src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template
+++ b/src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template
@@ -112,6 +112,8 @@ struct GlobalKnobs
};
extern GlobalKnobs g_GlobalKnobs;
+#undef DEFINE_KNOB
+
% for knob in knobs:
#define KNOB_${knob[0]}${space_knob(knob[0])} GET_KNOB(${knob[0]})
% endfor
More information about the mesa-commit
mailing list