summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr/SConscript
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2017-03-15 11:58:10 -0500
committerTim Rowley <[email protected]>2017-03-20 18:05:54 -0500
commit5d0b3b05a28b2e236d3d8aa7b6335b0be4f02eda (patch)
treef4b7983d240fc02a8125197583334d8cadfb6cb8 /src/gallium/drivers/swr/SConscript
parent4ed72758db74943dbc611ef45b180df9fb8f656c (diff)
swr: [rasterizer codegen] Fix generation of knobs
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/SConscript')
-rw-r--r--src/gallium/drivers/swr/SConscript4
1 files changed, 2 insertions, 2 deletions
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'
)