From e1b2e5667c48c3863fd84c1e903c9aa6bf30a137 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Sat, 10 Mar 2018 20:52:16 +0200 Subject: [PATCH] radv: make vk_format_description structures static No need to bother the linker about them. Reviewed-by: Bas Nieuwenhuizen --- src/amd/vulkan/vk_format_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,) -- 2.30.2