From 928a1519692a2842323cdc08dd89bd5c694bc529 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Tue, 3 Sep 2024 23:28:27 +1000 Subject: [PATCH] PostProcessing/FX: Log pipeline creation error description --- src/util/postprocessing_shader_fx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/postprocessing_shader_fx.cpp b/src/util/postprocessing_shader_fx.cpp index 7cad33efd..5835f0a9e 100644 --- a/src/util/postprocessing_shader_fx.cpp +++ b/src/util/postprocessing_shader_fx.cpp @@ -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; }