Permalink
Browse files

Revert "Temporary hack (see #10163): Ignore the VK_ERROR_INITIALIZATI…

…ON_FAILED from vkQueueSubmit."

This reverts commit 50cd4a5.
  • Loading branch information...
hrydgard committed Nov 24, 2017
1 parent 50cd4a5 commit bfec8509335481ff509817db694e4a917aa96cbd
Showing with 0 additions and 2 deletions.
  1. +0 −2 ext/native/thin3d/VulkanRenderManager.cpp
@@ -794,8 +794,6 @@ void VulkanRenderManager::Submit(int frame, bool triggerFence) {
res = vkQueueSubmit(vulkan_->GetGraphicsQueue(), 1, &submit_info, triggerFence ? frameData.fence : VK_NULL_HANDLE);
if (res == VK_ERROR_DEVICE_LOST) {
_assert_msg_(G3D, false, "Lost the Vulkan device!");
} else if (res == VK_ERROR_INITIALIZATION_FAILED) {
ERROR_LOG(G3D, "Unexpected error submitting main command buffer: VK_ERROR_INITIALIZATION_FAILED");
} else {
_assert_msg_(G3D, res == VK_SUCCESS, "vkQueueSubmit failed (main, split=%d)! result=%d", (int)splitSubmit_, (int)res);
}

0 comments on commit bfec850

Please sign in to comment.