diff --git a/Source/Core/VideoBackends/Vulkan/CommandBufferManager.cpp b/Source/Core/VideoBackends/Vulkan/CommandBufferManager.cpp index c8e48dc677..8f6bfc2929 100644 --- a/Source/Core/VideoBackends/Vulkan/CommandBufferManager.cpp +++ b/Source/Core/VideoBackends/Vulkan/CommandBufferManager.cpp @@ -303,7 +303,8 @@ void CommandBufferManager::SubmitCommandBuffer(bool submit_on_worker_thread, if (res != VK_SUCCESS) { LOG_VULKAN_ERROR(res, "vkEndCommandBuffer failed: "); - PanicAlertFmt("Failed to end command buffer"); + PanicAlertFmt("Failed to end command buffer: {} ({})", VkResultToString(res), + static_cast(res)); } } @@ -400,7 +401,8 @@ void CommandBufferManager::SubmitCommandBuffer(u32 command_buffer_index, if (res != VK_SUCCESS) { LOG_VULKAN_ERROR(res, "vkQueueSubmit failed: "); - PanicAlertFmt("Failed to submit command buffer."); + PanicAlertFmt("Failed to submit command buffer: {} ({})", VkResultToString(res), + static_cast(res)); } // Do we have a swap chain to present?