From 381a80ed358c5d75267801c338a09dec7493281d Mon Sep 17 00:00:00 2001 From: Mike Schuchardt Date: Mon, 6 Jul 2020 17:15:17 -0700 Subject: scripts: Remove assert for nested array types Multi-dimensional are already in the specification and don't cause any issues for vulkaninfo --- scripts/vulkaninfo_generator.py | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts/vulkaninfo_generator.py') diff --git a/scripts/vulkaninfo_generator.py b/scripts/vulkaninfo_generator.py index 61e8651b..30b938c4 100644 --- a/scripts/vulkaninfo_generator.py +++ b/scripts/vulkaninfo_generator.py @@ -874,7 +874,6 @@ class VulkanVariable: if lengthString is not None: lengths = re.split(',', lengthString) lengths = list(filter(('null-terminated').__ne__, lengths)) - assert(len(lengths) <= 1) if self.arrayLength is None and len(lengths) > 0: self.childType = '*'.join(self.type.split('*')[0:-1]) self.arrayLength = lengths[0] -- cgit v1.2.3