Browse Source
[vk] Exception modified & logged
eds-true-adreno-fixes
CamilleLaVey
3 weeks ago
committed by
Caio Oliveira
No known key found for this signature in database
GPG Key ID: AAAE6C7FD4186B0C
1 changed files with
8 additions and
0 deletions
-
src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
|
|
|
@ -809,6 +809,10 @@ std::unique_ptr<GraphicsPipeline> 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<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline() { |
|
|
|
@ -900,6 +904,10 @@ std::unique_ptr<ComputePipeline> 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, |
|
|
|
|