vk_pipeline_cache: Fix pipeline log class. (#3560)

This commit is contained in:
squidbus
2025-09-09 04:48:12 -07:00
committed by GitHub
parent ac318b56ac
commit e885d52ad0

View File

@@ -275,7 +275,7 @@ const GraphicsPipeline* PipelineCache::GetGraphicsPipeline() {
const auto [it, is_new] = graphics_pipelines.try_emplace(graphics_key);
if (is_new) {
const auto pipeline_hash = std::hash<GraphicsPipelineKey>{}(graphics_key);
LOG_INFO(Render, "Compiling graphics pipeline {:#x}", pipeline_hash);
LOG_INFO(Render_Vulkan, "Compiling graphics pipeline {:#x}", pipeline_hash);
it.value() = std::make_unique<GraphicsPipeline>(instance, scheduler, desc_heap, profile,
graphics_key, *pipeline_cache, infos,
@@ -299,7 +299,7 @@ const ComputePipeline* PipelineCache::GetComputePipeline() {
const auto [it, is_new] = compute_pipelines.try_emplace(compute_key);
if (is_new) {
const auto pipeline_hash = std::hash<ComputePipelineKey>{}(compute_key);
LOG_INFO(Render, "Compiling compute pipeline {:#x}", pipeline_hash);
LOG_INFO(Render_Vulkan, "Compiling compute pipeline {:#x}", pipeline_hash);
it.value() =
std::make_unique<ComputePipeline>(instance, scheduler, desc_heap, profile,