From ed91ca0629a929bd3031d0acd908f7b46b6eb80c Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 5 Apr 2019 15:58:28 +0100 Subject: [PATCH] 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 --- 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', -- 2.30.2