include debug information

This commit is contained in:
Samuliak 2024-07-07 12:12:34 +02:00
parent 1353af5af4
commit 3431f6d192
8 changed files with 37 additions and 1 deletions

View file

@ -43,6 +43,7 @@ public:
desc->setDepthAttachmentPixelFormat(toMTLPixelFormatDepth(hash.depthFmt));
NS::Error* error = nullptr;
desc->setLabel(toNSString("Blit pipeline"));
pipeline = device->newRenderPipelineState(desc, &error);
if (error) {
Helpers::panic("Error creating blit pipeline state: %s", error->description()->cString(NS::ASCIIStringEncoding));