From edff9ae684b8df3c333d0f08cadea78dfa027ec3 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Tue, 8 Aug 2023 18:42:16 -0500 Subject: [PATCH] GS:MTL: Include full error messages in aborts --- pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm index 52fb1ddb57..8a0855f14a 100644 --- a/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm +++ b/pcsx2/GS/Renderers/Metal/GSDeviceMTL.mm @@ -673,7 +673,7 @@ MRCOwned> GSDeviceMTL::LoadShader(NSString* name) { NSString* msg = [NSString stringWithFormat:@"Failed to load shader %@: %@", name, [err localizedDescription]]; Console.Error("%s", [msg UTF8String]); - pxFailRel("Failed to load shader, check the log for more details."); + pxFailRel([msg UTF8String]); } return fn; } @@ -689,7 +689,7 @@ MRCOwned> GSDeviceMTL::MakePipeline(MTLRenderPipeline { NSString* msg = [NSString stringWithFormat:@"Failed to create pipeline %@: %@", name, [err localizedDescription]]; Console.Error("%s", [msg UTF8String]); - pxFailRel("Failed to create pipeline, check the log for more details."); + pxFailRel([msg UTF8String]); } return res; } @@ -709,7 +709,7 @@ MRCOwned> GSDeviceMTL::MakeComputePipeline(id