diff options
author | Charles Giessen <charles@lunarg.com> | 2022-02-01 13:21:30 -0700 |
---|---|---|
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-02-02 13:49:13 -0700 |
commit | 48ebdbba491fa2d2a5bc27eee7b1a25fcec2ed83 (patch) | |
tree | be611a080b3a1e83497dccf19765b1eac56c5d00 | |
parent | 2d9f59a357c372951120faa792209afd8a0da9b0 (diff) | |
download | Vulkan-Tools-48ebdbba491fa2d2a5bc27eee7b1a25fcec2ed83.tar.gz Vulkan-Tools-48ebdbba491fa2d2a5bc27eee7b1a25fcec2ed83.tar.bz2 Vulkan-Tools-48ebdbba491fa2d2a5bc27eee7b1a25fcec2ed83.zip |
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.
-rw-r--r-- | scripts/vulkaninfo_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |