From 37ceea23145cb39800a3a8bc2416948bd7a8761f Mon Sep 17 00:00:00 2001 From: psucien Date: Sun, 16 Jun 2024 20:51:35 +0200 Subject: [PATCH] renderer_vulkan: added log entry for CS compiling --- src/video_core/renderer_vulkan/vk_pipeline_cache.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp index 7d5a839b..cb72edaf 100644 --- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp +++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp @@ -189,7 +189,7 @@ std::unique_ptr PipelineCache::CreateGraphicsPipeline() { inst_pool.ReleaseContents(); // Recompile shader to IR. - LOG_INFO(Render_Vulkan, "Compiling {} shader {:#X}", stage, hash); + LOG_INFO(Render_Vulkan, "Compiling {} shader {:#x}", stage, hash); const Shader::Info info = MakeShaderInfo(stage, pgm->user_data, regs); programs[i] = Shader::TranslateProgram(inst_pool, block_pool, code, std::move(info)); @@ -224,6 +224,7 @@ std::unique_ptr PipelineCache::CreateComputePipeline() { inst_pool.ReleaseContents(); // Recompile shader to IR. + LOG_INFO(Render_Vulkan, "Compiling cs shader {:#x}", compute_key); const Shader::Info info = MakeShaderInfo(Shader::Stage::Compute, cs_pgm.user_data, liverpool->regs); auto program = Shader::TranslateProgram(inst_pool, block_pool, code, std::move(info));