From: Grazvydas Ignotas Date: Sat, 10 Mar 2018 18:52:16 +0000 (+0200) Subject: radv: make vk_format_description structures static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1b2e5667c48c3863fd84c1e903c9aa6bf30a137;p=mesa.git radv: make vk_format_description structures static No need to bother the linker about them. Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/vk_format_table.py b/src/amd/vulkan/vk_format_table.py index c33a4ce65fd..cd1af6226a4 100644 --- a/src/amd/vulkan/vk_format_table.py +++ b/src/amd/vulkan/vk_format_table.py @@ -125,7 +125,7 @@ def write_format_table(formats): print " }," for format in formats: - print 'const struct vk_format_description' + print 'static const struct vk_format_description' print 'vk_format_%s_description = {' % (format.short_name(),) print " %s," % (format.name,) print " \"%s\"," % (format.name,)