mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
zink/instance: work with vulkan 1.0 and later loader.
If zink is meant to work against Vulkan 1.0 API then it should expose the 1.0 API as create time as well as always ask for all the vulkan 1.0 extensions. Reviewed-by: Hoe Hao Cheng <haochengho12907@gmail.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9075>
This commit is contained in:
parent
3054921a8d
commit
548e41aed1
1 changed files with 1 additions and 4 deletions
|
|
@ -213,7 +213,7 @@ zink_create_instance(struct zink_instance_info *instance_info)
|
|||
ai.pApplicationName = "unknown";
|
||||
|
||||
ai.pEngineName = "mesa zink";
|
||||
ai.apiVersion = instance_info->loader_version;
|
||||
ai.apiVersion = VK_MAKE_VERSION(1, 0, 0);
|
||||
|
||||
VkInstanceCreateInfo ici = {};
|
||||
ici.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
|
||||
|
|
@ -318,9 +318,6 @@ if __name__ == "__main__":
|
|||
error_count += 1
|
||||
print("The instance function {} is not added by the extension {}.".format(func, ext.name))
|
||||
|
||||
if entry.promoted_in:
|
||||
ext.core_since = Version((*entry.promoted_in, 0))
|
||||
|
||||
if error_count > 0:
|
||||
print("zink_instance.py: Found {} error(s) in total. Quitting.".format(error_count))
|
||||
exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue