radeonsi: Remove ACO dependency for non-GFX/compute builds

Signed-off-by: Thong Thai <thong.thai@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Benjamin Cheng <benjamin.cheng@amd.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41494>
This commit is contained in:
Thong Thai 2026-05-12 18:32:12 +00:00 committed by Marge Bot
parent d7f72e4e5b
commit 388665c442
2 changed files with 5 additions and 2 deletions

View file

@ -84,7 +84,11 @@ files_libradeonsi = files(
radeonsi_include_dirs = [inc_src, inc_include, inc_gallium, inc_gallium_aux, inc_amd_common,
inc_gallium_drivers, inc_compiler, inc_amd, inc_amd_vpe, inc_virtio_gpu]
radeonsi_deps = [dep_clock, dep_libdrm, idep_nir_headers, idep_amd_generated_headers,
idep_mesautil, idep_aco, idep_u_tracepoints, idep_si_tracepoints]
idep_mesautil, idep_u_tracepoints, idep_si_tracepoints]
if with_gfx_compute
radeonsi_deps += [idep_aco]
endif
if with_perfetto
radeonsi_deps += dep_perfetto

View file

@ -13,7 +13,6 @@
#include "util/u_screen.h"
#include <sys/utsname.h>
#include "drm-uapi/drm.h"
#include "aco_interface.h"
static const char *si_get_vendor(struct pipe_screen *pscreen)
{