From e03c453e8f2c69eeda0f7ab8fd6566627186a8b2 Mon Sep 17 00:00:00 2001 From: CamilleLaVey Date: Wed, 3 Dec 2025 02:10:37 -0400 Subject: [PATCH] [vk] Exception modified & logged --- src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index accc7dfcff..c3660aa453 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -818,6 +818,10 @@ std::unique_ptr PipelineCache::CreateGraphicsPipeline( } LOG_ERROR(Render_Vulkan, "{}", exception.what()); return nullptr; +} catch (const vk::Exception& exception) { + LOG_ERROR(Render_Vulkan, "Failed to create graphics pipeline 0x{:016x}: {}", key.Hash(), + exception.what()); + return nullptr; } std::unique_ptr PipelineCache::CreateGraphicsPipeline() { @@ -909,6 +913,10 @@ std::unique_ptr PipelineCache::CreateComputePipeline( } catch (const Shader::Exception& exception) { LOG_ERROR(Render_Vulkan, "{}", exception.what()); return nullptr; +} catch (const vk::Exception& exception) { + LOG_ERROR(Render_Vulkan, "Failed to create compute pipeline 0x{:016x}: {}", key.Hash(), + exception.what()); + return nullptr; } void PipelineCache::SerializeVulkanPipelineCache(const std::filesystem::path& filename,