diff options
author | Eric Engestrom <[email protected]> | 2019-04-05 15:58:28 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-04-08 17:03:00 +0000 |
commit | ed91ca0629a929bd3031d0acd908f7b46b6eb80c (patch) | |
tree | acdfe7cfbb268dfa84701fb5a389295965f53e9b | |
parent | 27b8f3ecc318a5773e1f189bbfb65f43ad5c2aa0 (diff) |
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]>
-rw-r--r-- | src/vulkan/util/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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', |