Module: Mesa
Branch: master
Commit: e1b2e5667c48c3863fd84c1e903c9aa6bf30a137
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1b2e5667c48c3863fd84c1e903c9aa6bf30a137

Author: Grazvydas Ignotas <[email protected]>
Date:   Sat Mar 10 20:52:16 2018 +0200

radv: make vk_format_description structures static

No need to bother the linker about them.

Reviewed-by: Bas Nieuwenhuizen <[email protected]>

---

 src/amd/vulkan/vk_format_table.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/vk_format_table.py 
b/src/amd/vulkan/vk_format_table.py
index c33a4ce65f..cd1af6226a 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,)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to