Module: Mesa Branch: master Commit: ed91ca0629a929bd3031d0acd908f7b46b6eb80c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ed91ca0629a929bd3031d0acd908f7b46b6eb80c
Author: Eric Engestrom <[email protected]> Date: Fri Apr 5 15:58:28 2019 +0100 vk/util: remove unneeded array index This is an array of 1, so [0] is the only content, and meson already flattens the list so this is unnecessary. Also, all the other uses of vk_api_xml don't do that. Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> --- src/vulkan/util/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/util/meson.build b/src/vulkan/util/meson.build index 1e15fcb8dda..ca292bbf7d6 100644 --- a/src/vulkan/util/meson.build +++ b/src/vulkan/util/meson.build @@ -28,7 +28,7 @@ files_vulkan_util = files( vk_enum_to_str = custom_target( 'vk_enum_to_str', - input : ['gen_enum_to_str.py', vk_api_xml[0]], + input : ['gen_enum_to_str.py', vk_api_xml], output : ['vk_enum_to_str.c', 'vk_enum_to_str.h'], command : [ prog_python, '@INPUT0@', '--xml', '@INPUT1@', '--outdir', _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
