Skip to content

Commit

Permalink
PostProcessing/FX: Log pipeline creation error description
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Sep 3, 2024
1 parent a53dc85 commit 129df84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/postprocessing_shader_fx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1448,10 +1448,10 @@ bool PostProcessing::ReShadeFXShader::CompilePipeline(GPUTexture::Format format,
return false;
}

pass.pipeline = g_gpu_device->CreatePipeline(plconfig);
pass.pipeline = g_gpu_device->CreatePipeline(plconfig, &error);
if (!pass.pipeline)
{
ERROR_LOG("Failed to create pipeline for pass '{}'", info.name);
ERROR_LOG("Failed to create pipeline for pass '{}': {}", info.name, error.GetDescription());
progress->PopState();
return false;
}
Expand Down

0 comments on commit 129df84

Please sign in to comment.