From 7de056e1a9661273ba5055d094f17cf0b9ca92f3 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 25 Feb 2019 23:26:16 -0800 Subject: [PATCH] scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- src/compiler/SConscript.glsl | 7 +++++++ 1 file changed, 7 insertions(+) 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 @@ -88,6 +88,13 @@ mesa_objs = env.StaticObject([ 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', -- 2.30.2