From 5adfc8602c639827af0ba9a1059bd165a3ae49e7 Mon Sep 17 00:00:00 2001 From: Vasily Khoruzhick Date: Mon, 5 Aug 2019 12:33:09 -0700 Subject: lima/ppir: move sin/cos input scaling into NIR Reviewed-by: Erico Nunes Signed-off-by: Vasily Khoruzhick --- src/gallium/drivers/lima/meson.build | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/lima/meson.build') diff --git a/src/gallium/drivers/lima/meson.build b/src/gallium/drivers/lima/meson.build index 36788ddf0dd..2ab2b2ae118 100644 --- a/src/gallium/drivers/lima/meson.build +++ b/src/gallium/drivers/lima/meson.build @@ -70,9 +70,21 @@ files_lima = files( 'lima_fence.h', ) +lima_nir_algebraic_c = custom_target( + 'ir/lima_nir_algebraic.c', + input : 'ir/lima_nir_algebraic.py', + output : 'lima_nir_algebraic.c', + command : [ + prog_python, '@INPUT@', + '-p', join_paths(meson.source_root(), 'src/compiler/nir/'), + ], + capture : true, + depend_files : nir_algebraic_py, +) + liblima = static_library( 'lima', - files_lima, + files_lima, lima_nir_algebraic_c, include_directories : [ inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_gallium_drivers, inc_panfrost -- cgit v1.2.3