diff options
author | Grazvydas Ignotas <[email protected]> | 2018-03-10 20:52:16 +0200 |
---|---|---|
committer | Grazvydas Ignotas <[email protected]> | 2018-03-17 18:53:21 +0200 |
commit | e1b2e5667c48c3863fd84c1e903c9aa6bf30a137 (patch) | |
tree | 5bad0ac0a5e8d515068833c9b3a80e3a784dacbe | |
parent | 331141e87eb6d68704e5771adee18637d62b5983 (diff) |
radv: make vk_format_description structures static
No need to bother the linker about them.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-rw-r--r-- | src/amd/vulkan/vk_format_table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/vk_format_table.py b/src/amd/vulkan/vk_format_table.py index c33a4ce65fd..cd1af6226a4 100644 --- a/src/amd/vulkan/vk_format_table.py +++ b/src/amd/vulkan/vk_format_table.py @@ -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,) |