gallium: Fix i915 pipe-loader build

'i915' was missing from the list of drivers for the 'driver_descriptor'
descriptor symbol. Rather than maintaining a second list of drivers add
the 'driver_descriptor' symbol for all drivers except swrast.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10171
Fixes: 667de678a0 ("gallium: Fix undefined symbols in version scripts")
Signed-off-by: Janne Grunau <j@jannau.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26273>
This commit is contained in:
Janne Grunau 2023-11-19 09:06:11 +01:00
parent f05688aa32
commit b2da38413f

View file

@ -66,10 +66,9 @@ foreach x : pipe_loaders
pipe_sym_config = configuration_data()
foreach d : [[x[1] in ['r300', 'r600', 'radeonsi'], 'radeon_drm_winsys_create'],
[x[1] in ['vmwgfx', 'r600', 'r300', 'nouveau', 'msm', 'kmsro', 'iris', 'crocus', 'radeonsi'],
'driver_descriptor'],
[x[1] == 'radeonsi', 'amdgpu_winsys_create'],
[x[1] == 'radeonsi' and with_llvm, 'ac_init_shared_llvm_once'],
[x[1] != 'swrast', 'driver_descriptor'],
[x[1] == 'swrast', 'swrast_driver_descriptor']]
if d[0]
pipe_sym_config.set(d[1], d[1] + ';')