Skip to content

v3dv/device: honor the vk error coming from wsi_init

Instead of setting it always to VK_ERROR_INITIALIZATION_FAILED.

This gets the following test working back: dEQP-VK.api.device_init.create_instance_device_intentional_alloc_fail.basic

as it is expecting a VK_ERROR_OUT_OF_HOST_MEMORY error.

Fixes: 591103d0 ("v3dv: don't return incompatible driver if GPU is not present")

Merge request reports