From 5d0b3b05a28b2e236d3d8aa7b6335b0be4f02eda Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Wed, 15 Mar 2017 11:58:10 -0500 Subject: swr: [rasterizer codegen] Fix generation of knobs Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/swr/SConscript') diff --git a/src/gallium/drivers/swr/SConscript b/src/gallium/drivers/swr/SConscript index 6e228f43154..754e6784f2e 100644 --- a/src/gallium/drivers/swr/SConscript +++ b/src/gallium/drivers/swr/SConscript @@ -51,14 +51,14 @@ swrroot = '#src/gallium/drivers/swr/' env.CodeGenerate( target = 'rasterizer/codegen/gen_knobs.cpp', script = swrroot + 'rasterizer/codegen/gen_knobs.py', - source = 'rasterizer/codegen/templates/knobs.template', + source = 'rasterizer/codegen/templates/knobs_template.cpp', command = python_cmd + ' $SCRIPT --input $SOURCE --output $TARGET --gen_cpp' ) env.CodeGenerate( target = 'rasterizer/codegen/gen_knobs.h', script = swrroot + 'rasterizer/codegen/gen_knobs.py', - source = 'rasterizer/codegen/templates/knobs.template', + source = 'rasterizer/codegen/templates/knobs_template.cpp', command = python_cmd + ' $SCRIPT --input $SOURCE --output $TARGET --gen_h' ) -- cgit v1.2.3