diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-05-01 22:44:42 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-05-02 21:57:08 +0200 |
commit | 467c562a292b4424f24381932b90bcb9869c3d73 (patch) | |
tree | 9ad4278c66ec4d5f8b54a75b679d788a7bfc0685 /src/amd/vulkan/radv_device.c | |
parent | 9267ff9883f749dd1708c573c0df4b46687ff973 (diff) |
radv: Don't check the incoming apiVersion on CreateInstance.
This fixes
dEQP-VK.api.device_init.create_instance_invalid_api_version
CC: 18.1 <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_device.c')
-rw-r--r-- | src/amd/vulkan/radv_device.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ef32c37464a..ed1c35334ba 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -463,15 +463,6 @@ VkResult radv_CreateInstance( client_version = VK_MAKE_VERSION(1, 0, 0); } - if (VK_MAKE_VERSION(1, 0, 0) > client_version || - client_version > VK_MAKE_VERSION(1, 1, 0xfff)) { - return vk_errorf(VK_ERROR_INCOMPATIBLE_DRIVER, - "Client requested version %d.%d.%d", - VK_VERSION_MAJOR(client_version), - VK_VERSION_MINOR(client_version), - VK_VERSION_PATCH(client_version)); - } - instance = vk_zalloc2(&default_alloc, pAllocator, sizeof(*instance), 8, VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE); if (!instance) |