swr: [rasterizer scripts] undef DEFINE_KNOB after usage
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 23 Aug 2016 20:24:09 +0000 (15:24 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 29 Aug 2016 17:42:10 +0000 (12:42 -0500)
Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template

index 8dbfafde2d9d42c676af2807f55095372b3aa648..1ae45e52e745afc0f053ca270e7baa67881e6009 100644 (file)
@@ -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