diff --git a/src/gallium/drivers/zink/zink_device_info.py b/src/gallium/drivers/zink/zink_device_info.py index 313275f5ad3..139556eb4ce 100644 --- a/src/gallium/drivers/zink/zink_device_info.py +++ b/src/gallium/drivers/zink/zink_device_info.py @@ -682,8 +682,13 @@ if __name__ == "__main__": print("The extension {} does not provide a properties struct.".format(ext.name)) ext.properties_promoted = entry.properties_promoted - if entry.promoted_in: + if entry.promoted_in and entry.promoted_in <= versions[-1].struct_version: ext.core_since = Version((*entry.promoted_in, 0)) + else: + # even if the ext is promoted in a newer VK version, consider it + # unpromoted until there's an entry for that VK version in VERSIONS + ext.features_promoted = False + ext.properties_promoted = False if error_count > 0: print("zink_device_info.py: Found {} error(s) in total. Quitting.".format(error_count))