meson/zink: use vk_api_xml variable instead of re-constructing the file path
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20568>
This commit is contained in:
committed by
Marge Bot
parent
615c3a078b
commit
bc801c0808
@@ -49,7 +49,7 @@ zink_device_info = custom_target(
|
||||
input : ['zink_device_info.py'],
|
||||
output : ['zink_device_info.h', 'zink_device_info.c'],
|
||||
command : [
|
||||
prog_python, '@INPUT@', '@OUTPUT@', join_paths(dir_source_root, 'src/vulkan/registry/vk.xml')
|
||||
prog_python, '@INPUT@', '@OUTPUT@', vk_api_xml
|
||||
]
|
||||
)
|
||||
|
||||
@@ -58,7 +58,7 @@ zink_instance = custom_target(
|
||||
input : ['zink_instance.py'],
|
||||
output : ['zink_instance.h', 'zink_instance.c'],
|
||||
command : [
|
||||
prog_python, '@INPUT@', '@OUTPUT@', join_paths(dir_source_root, 'src/vulkan/registry/vk.xml')
|
||||
prog_python, '@INPUT@', '@OUTPUT@', vk_api_xml
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user