diff --git a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp index 80f9242d83..b8f0a236b1 100644 --- a/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp +++ b/Source/Core/VideoBackends/Vulkan/ShaderCompiler.cpp @@ -173,7 +173,7 @@ static std::optional CompileShaderToSPV(EShLanguage stage, stream << "Video Backend: " + g_video_backend->GetDisplayName(); stream.close(); - PanicAlertFmt("{} (written to {})", msg, filename); + PanicAlertFmt("{} (written to {})\nDebug info:\n{}", msg, filename, shader->getInfoLog()); }; if (!shader->parse(GetCompilerResourceLimits(), default_version, profile, false, true, messages,