summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2019-02-25 23:26:16 -0800
committerJordan Justen <[email protected]>2019-03-02 14:33:44 -0800
commit7de056e1a9661273ba5055d094f17cf0b9ca92f3 (patch)
tree6b35e3b3daf21a77a4ebecc1eccbb18a9eccb8cf
parent10c5579921979c944978b477db8bdd639d3c9559 (diff)
scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/compiler/SConscript.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/SConscript.glsl b/src/compiler/SConscript.glsl
index a25374fce3d..45ddde8efc9 100644
--- a/src/compiler/SConscript.glsl
+++ b/src/compiler/SConscript.glsl
@@ -89,6 +89,13 @@ compiler_objs += mesa_objs
# GLSL generated sources
env.CodeGenerate(
+ target = 'glsl/float64_glsl.h',
+ script = 'glsl/xxd.py',
+ source = ['glsl/float64.glsl'],
+ command = python_cmd + ' $SCRIPT $SOURCE $TARGET -n float64_source',
+)
+
+env.CodeGenerate(
target = 'glsl/ir_expression_operation.h',
script = 'glsl/ir_expression_operation.py',
source = [],