diff options
Diffstat (limited to 'src/gallium/drivers/zink/meson.build')
-rw-r--r-- | src/gallium/drivers/zink/meson.build | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/meson.build b/src/gallium/drivers/zink/meson.build index cab79ddae18..15f79b62303 100644 --- a/src/gallium/drivers/zink/meson.build +++ b/src/gallium/drivers/zink/meson.build @@ -39,9 +39,21 @@ files_libzink = files( 'zink_surface.c', ) +zink_nir_algebraic_c = custom_target( + 'zink_nir_algebraic.c', + input : 'nir_to_spirv/zink_nir_algebraic.py', + output : 'zink_nir_algebraic.c', + command : [ + prog_python, '@INPUT@', + '-p', join_paths(meson.source_root(), 'src/compiler/nir/'), + ], + capture : true, + depend_files : nir_algebraic_py, +) + libzink = static_library( 'zink', - files_libzink, + [files_libzink, zink_nir_algebraic_c], c_args : c_vis_args, include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux], dependencies: [dep_vulkan, idep_nir_headers], |