diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-20 02:00:23 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-04-20 02:00:23 +0000 |
commit | 16e8d62bdc246bf377944b9d7381860b0fc86d05 (patch) | |
tree | c14dcb0be2165778e237b7d8185dd53fa82b1993 | |
parent | 6e47f7d54365785f702660ea833d4b614ff49b6e (diff) | |
parent | 6abb3cbca4c89ee8aa1e5381ddffb4995ad35a0e (diff) | |
download | vulkan-cereal-16e8d62bdc246bf377944b9d7381860b0fc86d05.tar.gz |
Snap for 8474198 from 1229b7277657128a2f1721d7bf583008212c914e to tm-release am: 6abb3cbca4
Original change: https://googleplex-android-review.googlesource.com/c/device/generic/vulkan-cereal/+/17838998
Change-Id: I68cc00c3fded48063dfb2c6c954e08d85d0a99a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | stream-servers/vulkan/VkCommonOperations.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/stream-servers/vulkan/VkCommonOperations.cpp b/stream-servers/vulkan/VkCommonOperations.cpp index 8967cbfd..abf7677d 100644 --- a/stream-servers/vulkan/VkCommonOperations.cpp +++ b/stream-servers/vulkan/VkCommonOperations.cpp @@ -587,7 +587,8 @@ VkEmulation* createGlobalVkEmulation(VulkanDispatch* vk) { VkResult res = gvk->vkCreateInstance(&instCi, nullptr, &sVkEmulation->instance); if (res != VK_SUCCESS) { - VK_EMU_INIT_RETURN_ON_ERROR("Failed to create Vulkan instance."); + VK_EMU_INIT_RETURN_ON_ERROR("Failed to create Vulkan instance. Error %s.", + string_VkResult(res)); } // Create instance level dispatch. @@ -621,7 +622,8 @@ VkEmulation* createGlobalVkEmulation(VulkanDispatch* vk) { VkResult res = gvk->vkCreateInstance(&instCi, nullptr, &sVkEmulation->instance); if (res != VK_SUCCESS) { - VK_EMU_INIT_RETURN_ON_ERROR("Failed to create Vulkan 1.1 instance."); + VK_EMU_INIT_RETURN_ON_ERROR("Failed to create Vulkan 1.1 instance. Error %s.", + string_VkResult(res)); } init_vulkan_dispatch_from_instance( @@ -968,7 +970,8 @@ VkEmulation* createGlobalVkEmulation(VulkanDispatch* vk) { &sVkEmulation->device); if (res != VK_SUCCESS) { - VK_EMU_INIT_RETURN_ON_ERROR("Failed to create Vulkan device."); + VK_EMU_INIT_RETURN_ON_ERROR("Failed to create Vulkan device. Error %s.", + string_VkResult(res)); } // device created; populate dispatch table |