radv: emit shader descriptor pointers consecutively
[mesa.git] / src / amd / vulkan / vk_format_table.py
index 06b98e568b4b8f2e861ce07386e57182ceec62a7..cd1af6226a4cb30fcbaf63cc4cc300509d9baeff 100644 (file)
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 
 CopyRight = '''
 /**************************************************************************
@@ -87,7 +86,7 @@ def print_channels(format, func):
         print '#endif'
 
 def write_format_table(formats):
-    print '/* This file is autogenerated by u_format_table.py from u_format.csv. Do not edit directly. */'
+    print '/* This file is autogenerated by vk_format_table.py from vk_format_layout.csv. Do not edit directly. */'
     print
     # This will print the copyright message on the top of this file
     print CopyRight.strip()
@@ -126,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,)