mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
PostProcessing/FX: Log pipeline creation error description
This commit is contained in:
parent
e8eac9f3a8
commit
2a05e8fb99
|
@ -1448,10 +1448,10 @@ bool PostProcessing::ReShadeFXShader::CompilePipeline(GPUTexture::Format format,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
pass.pipeline = g_gpu_device->CreatePipeline(plconfig);
|
pass.pipeline = g_gpu_device->CreatePipeline(plconfig, &error);
|
||||||
if (!pass.pipeline)
|
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();
|
progress->PopState();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue