mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-07 12:05:52 +00:00
PostProcessing/FX: Log pipeline creation error description
This commit is contained in:
parent
a53dc85035
commit
129df8410e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user