From 18b1ec76dfd3aba5cfc0c9d34af2c142f62ce723 Mon Sep 17 00:00:00 2001 From: Jon Ashburn Date: Mon, 6 Apr 2015 10:58:22 -0600 Subject: loader: refactor layer activation function to handle more general inputs Renamed structure types as well. TODO: verify vk-layer-generate.py v2: fix LoaderEntrypointsSubcommand (olv) --- vulkan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vulkan.py') diff --git a/vulkan.py b/vulkan.py index 07f431b6..220b4a6e 100755 --- a/vulkan.py +++ b/vulkan.py @@ -1024,11 +1024,11 @@ def parse_vk_h(filename): print("core =", str(ext)) print("") - print("typedef struct _VK_LAYER_DISPATCH_TABLE") + print("typedef struct VkLayerDispatchTable_") print("{") for proto in ext.protos: print(" vk%sType %s;" % (proto.name, proto.name)) - print("} VK_LAYER_DISPATCH_TABLE;") + print("} VkLayerDispatchTable;") if __name__ == "__main__": parse_vk_h("include/vulkan.h") -- cgit v1.2.3