From: Eric Engestrom Date: Fri, 5 Apr 2019 14:58:28 +0000 (+0100) Subject: vk/util: remove unneeded array index X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed91ca0629a929bd3031d0acd908f7b46b6eb80c;p=mesa.git 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 Reviewed-by: Dylan Baker --- 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',