mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-08 20:58:41 +00:00
vk_pipeline_cache: Fix pipeline log class. (#3560)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user