I dug into what autotools is doing. It's using -Wl,--whole-archive to link
everything, in this target, not just the state tracker. I think I'm okay with
this patch given that, so I'm going to apply the same change to the other media
state trackers and send it out as a series.
Quoting Dylan Baker (
This patch makes vdpau work here too on RX 480.
vaapi has the same problem. I tried doing an analog patch and also had to set
libva_version = ['1', '0', '0'] in src/gallium/state_trackers/va/meson.build
because libva on arch only tries to call __vaDriverInit_1_0 on arch.
The autotools makefile use
Signed-off-by: Dylan Baker
---
src/gallium/targets/vdpau/meson.build | 16 +---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/gallium/targets/vdpau/meson.build
b/src/gallium/targets/vdpau/meson.build
index 67f1469fb0f..432a32a7340 100644
--- a/src/gallium/targets