[PATCH] winevulkan: Don't process struct alias' in pNext conversion chains.
Derek Lesho
dlesho at codeweavers.com
Wed Oct 30 14:15:14 CDT 2019
Fixes parsing of Vulkan 1.1.106+
Signed-off-by: Derek Lesho <dlesho at codeweavers.com>
---
dlls/winevulkan/make_vulkan | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/dlls/winevulkan/make_vulkan b/dlls/winevulkan/make_vulkan
index 4f1c03cc7c..8e043538c8 100755
--- a/dlls/winevulkan/make_vulkan
+++ b/dlls/winevulkan/make_vulkan
@@ -2955,9 +2955,10 @@ class VkRegistry(object):
for struct in structs:
struct.set_type_info(self.types)
- for structextend in struct.structextends:
- s = self.types[structextend]["data"]
- s.struct_extensions.append(struct)
+ if struct.alias is None:
+ for structextend in struct.structextends:
+ s = self.types[structextend]["data"]
+ s.struct_extensions.append(struct)
# Guarantee everything is sorted, so code generation doesn't have
# to deal with this.
--
2.23.0
More information about the wine-devel
mailing list