summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/rasterizer/scripts
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-08-23 15:24:09 -0500
committerTim Rowley <[email protected]>2016-08-29 12:42:10 -0500
commite54df2c7e43badcf4416fc7990a101fdf3e1c07e (patch)
tree9587f10a8a866d1b8a8ad12feaaca0dee80b3fda /src/gallium/drivers/swr/rasterizer/scripts
parenta4efbd14d382855a21d13bad510a4f67757480ab (diff)
swr: [rasterizer scripts] undef DEFINE_KNOB after usage
Signed-off-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/scripts')
-rw-r--r--src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template b/src/gallium/drivers/swr/rasterizer/scripts/templates/knobs.template
index 8dbfafde2d9..1ae45e52e74 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