radv: make vk_format_description structures static

No need to bother the linker about them.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
Grazvydas Ignotas 2018-03-10 20:52:16 +02:00
parent 331141e87e
commit e1b2e5667c
1 changed files with 1 additions and 1 deletions

View 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,)