diff --git a/.pick_status.json b/.pick_status.json index c9f2e6fcebc..610a9203ec4 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -3954,7 +3954,7 @@ "description": "dozen: return INCOMPATIBLE_DRIVER on instance create failure", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/microsoft/vulkan/dzn_device.c b/src/microsoft/vulkan/dzn_device.c index 97fd13bed10..874850b6700 100644 --- a/src/microsoft/vulkan/dzn_device.c +++ b/src/microsoft/vulkan/dzn_device.c @@ -1836,13 +1836,13 @@ dzn_instance_create(const VkInstanceCreateInfo *pCreateInfo, instance->d3d12_mod = util_dl_open(UTIL_DL_PREFIX "d3d12" UTIL_DL_EXT); if (!instance->d3d12_mod) { dzn_instance_destroy(instance, pAllocator); - return vk_error(NULL, VK_ERROR_INITIALIZATION_FAILED); + return vk_error(NULL, VK_ERROR_INCOMPATIBLE_DRIVER); } instance->d3d12.serialize_root_sig = d3d12_get_serialize_root_sig(instance->d3d12_mod); if (!instance->d3d12.serialize_root_sig) { dzn_instance_destroy(instance, pAllocator); - return vk_error(NULL, VK_ERROR_INITIALIZATION_FAILED); + return vk_error(NULL, VK_ERROR_INCOMPATIBLE_DRIVER); } instance->factory = try_create_device_factory(instance->d3d12_mod);