[Mesa-stable] [Mesa-dev] [PATCH 1/2] radv: Don't check the incoming apiVersion on CreateInstance.
Samuel Pitoiset
samuel.pitoiset at gmail.com
Wed May 2 08:35:02 UTC 2018
Series is:
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
On 05/01/2018 10:48 PM, Bas Nieuwenhuizen wrote:
> This fixes
>
> dEQP-VK.api.device_init.create_instance_invalid_api_version
>
> CC: 18.1 <mesa-stable at lists.freedesktop.org>
> ---
> src/amd/vulkan/radv_device.c | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 629957afec2..26f2e3b1aea 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)
>
More information about the mesa-stable
mailing list