radv: emit shader descriptor pointers consecutively
[mesa.git] / src / amd / vulkan / vk_format_table.py
index c33a4ce65fdc31b7de194180b99e3e59e9354eed..cd1af6226a4cb30fcbaf63cc4cc300509d9baeff 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,)