radv,driconf: fix static driconf by parsing 00-radv-defaults.conf

Otherwise when xmlconfig is disabled, drirc workarounds aren't applied
with RADV.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7785
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20077>
This commit is contained in:
Samuel Pitoiset
2022-11-30 10:12:38 +01:00
committed by Marge Bot
parent 60ff0df39b
commit ab7f518ed0
3 changed files with 4 additions and 7 deletions
-7
View File
@@ -100,13 +100,6 @@ libradv_files = files(
'vk_format.h',
)
files_drirc = files('00-radv-defaults.conf')
# Only install the drirc file if we build with support for parsing drirc files
if use_xmlconfig
install_data(files_drirc, install_dir : join_paths(get_option('datadir'), 'drirc.d'))
endif
if not with_platform_windows
libradv_files += files(
'winsys/amdgpu/radv_amdgpu_bo.c',
+4
View File
@@ -172,6 +172,10 @@ files_mesa_util = files(
files_drirc = files('00-mesa-defaults.conf')
if with_amd_vk
files_drirc += files('00-radv-defaults.conf')
endif
if with_tests
prog_xmllint = find_program('xmllint', required : false, native : true)
if prog_xmllint.found()