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:
parent
331141e87e
commit
e1b2e5667c
|
@ -125,7 +125,7 @@ def write_format_table(formats):
|
||||||
print " },"
|
print " },"
|
||||||
|
|
||||||
for format in formats:
|
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 'vk_format_%s_description = {' % (format.short_name(),)
|
||||||
print " %s," % (format.name,)
|
print " %s," % (format.name,)
|
||||||
print " \"%s\"," % (format.name,)
|
print " \"%s\"," % (format.name,)
|
||||||
|
|
Loading…
Reference in New Issue