Module: Mesa
Branch: master
Commit: e54df2c7e43badcf4416fc7990a101fdf3e1c07e
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e54df2c7e43badcf4416fc7990a101fdf3e1c07e

Author: Tim Rowley <[email protected]>
Date:   Tue Aug 23 15:24:09 2016 -0500

swr: [rasterizer scripts] undef DEFINE_KNOB after usage

Signed-off-by: Tim Rowley <[email protected]>

---

 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to