gallium/drivers: do not link against libgalliumvl directly
libgalliumvl_stub was added so not all frontends have to link in full video accleration support, shaving off around 100kB of binary size. Signed-off-by: Karol Herbst <kherbst@redhat.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26680>
This commit is contained in:
@@ -154,5 +154,5 @@ libd3d12 = static_library(
|
||||
|
||||
driver_d3d12 = declare_dependency(
|
||||
compile_args : '-DGALLIUM_D3D12',
|
||||
link_with : [libd3d12, libgalliumvl],
|
||||
link_with : [libd3d12],
|
||||
)
|
||||
|
@@ -168,7 +168,6 @@ libr600 = static_library(
|
||||
inc_src, inc_mapi, inc_mesa, inc_include, inc_gallium, inc_gallium_aux, inc_amd_common,
|
||||
inc_gallium_drivers,
|
||||
],
|
||||
link_with : [ libgalliumvl ],
|
||||
dependencies: [dep_libdrm_radeon, dep_elf, dep_llvm, idep_nir, idep_nir_headers],
|
||||
)
|
||||
|
||||
|
@@ -167,7 +167,7 @@ libradeonsi = static_library(
|
||||
driver_radeonsi = declare_dependency(
|
||||
compile_args : '-DGALLIUM_RADEONSI',
|
||||
link_with : radeonsi_gfx_libs + [
|
||||
libradeonsi, libradeonwinsys, libamdgpuwinsys, libamd_common, libamd_common_llvm, libgalliumvl, libvpe
|
||||
libradeonsi, libradeonwinsys, libamdgpuwinsys, libamd_common, libamd_common_llvm, libvpe
|
||||
],
|
||||
dependencies : idep_nir,
|
||||
)
|
||||
|
Reference in New Issue
Block a user