mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 15:58:05 +02:00
kk: Add poly dependency to KK
Signed-off-by: Aitor Camacho <aitor@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40864>
This commit is contained in:
parent
62e7120384
commit
1d57784308
2 changed files with 4 additions and 1 deletions
|
|
@ -947,6 +947,7 @@ with_llvm = with_llvm \
|
|||
|
||||
with_poly = [
|
||||
with_gallium_asahi, with_asahi_vk, with_tools.contains('asahi'),
|
||||
with_kosmickrisp_vk,
|
||||
].contains(true)
|
||||
|
||||
dep_clc = null_dep
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ libkk_spv = custom_target(
|
|||
libkk_shader_files, '--',
|
||||
'-I' + join_paths(meson.project_source_root(), 'include'),
|
||||
'-I' + join_paths(meson.project_source_root(), 'src/compiler/libcl'),
|
||||
'-I' + join_paths(meson.project_source_root(), 'src/poly/cl'),
|
||||
'-I' + join_paths(meson.current_source_dir(), '.'),
|
||||
'-I' + join_paths(meson.current_source_dir(), '../../'),
|
||||
'-I' + join_paths(meson.current_source_dir(), 'shaders'),
|
||||
|
|
@ -45,7 +46,8 @@ libkk_shaders = custom_target(
|
|||
libkk_shaders_lib = static_library(
|
||||
'libkk_shaders',
|
||||
sources : [libkk_shaders],
|
||||
dependencies : [idep_mesautil],
|
||||
link_with : [libpoly_nir],
|
||||
dependencies : [idep_nir, idep_mesautil, idep_libpoly],
|
||||
)
|
||||
|
||||
idep_libkk_shaders_h = declare_dependency(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue