PostProcessing/FX: Log pipeline creation error description

This commit is contained in:
Stenzek 2024-09-03 23:28:27 +10:00
parent 9938b0d389
commit 928a151969
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}