From 48ebdbba491fa2d2a5bc27eee7b1a25fcec2ed83 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Tue, 1 Feb 2022 13:21:30 -0700 Subject: vulkaninfo: Fix padding for integer dot product The 1.3 update forgot to rename VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES_KHR to VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES as this is the non-aliased name. Without it, the fix wouldn't be applied. --- scripts/vulkaninfo_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vulkaninfo_generator.py b/scripts/vulkaninfo_generator.py index f4a00125..1997e0ed 100644 --- a/scripts/vulkaninfo_generator.py +++ b/scripts/vulkaninfo_generator.py @@ -610,7 +610,7 @@ def PrintChainBuilders(listName, structures, all_structures): # We need to artificially increase it just so the driver doesn't write 'out of bounds' and cause # difficult to debug crashes. This bug comes from the in-development version of the extension having # a larger size than the final version, so older drivers try to writ to members which don't exist. - if s.sTypeName == "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES_KHR": + if s.sTypeName == "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_DOT_PRODUCT_FEATURES": out += " + 256" # Really make sure a driver wont write out of bounds out += f"}},\n" out += AddGuardFooter(s) -- cgit v1.2.3