radv: make vk_format_description structures static
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 10 Mar 2018 18:52:16 +0000 (20:52 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 17 Mar 2018 16:53:21 +0000 (18:53 +0200)
No need to bother the linker about them.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/vk_format_table.py

index c33a4ce..cd1af62 100644 (file)
@@ -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,)