layers : gh682 move gipa dispatch table init
Move the GIPA setup of the dispatch tables for layers into
the layer_init_device_dispatch_table call since we're already
doing a majority of it there. This removes the need to separately
setup the WSI extension entry-points.
Additionally, memset the table to 0, just to make sure anything
that gets added in the future is obvoiusly not set.
Change-Id: I63c7c107cd9f7957e2766fdbeb8a06bc1ae0eda6
diff --git a/vulkan.py b/vulkan.py
index 8b081f1..97d8706 100644
--- a/vulkan.py
+++ b/vulkan.py
@@ -1346,6 +1346,16 @@
proto_names = [proto.name for proto in protos]
+headers_all = []
+objects_all = []
+protos_all = []
+for ext in extensions_all:
+ headers_all.extend(ext.headers)
+ objects_all.extend(ext.objects)
+ protos_all.extend(ext.protos)
+
+proto_all_names = [proto.name for proto in protos_all]
+
def parse_vk_h(filename):
# read object and protoype typedefs
object_lines = []