reuse command buffers flag

This commit is contained in:
Greg Wells
2025-07-02 09:12:33 -04:00
parent 9c154c1eeb
commit a74dd63786
21 changed files with 51 additions and 11 deletions

View File

@@ -53,9 +53,8 @@ gnReturnCode createMetalFramebuffer(gnFramebuffer framebuffer, gnOutputDevice de
wasDepthStencil = gnTrue;
}
if (isStencilFormat(info.renderPassDescriptor->info.attachmentInfos[i].format)) {
gnDebuggerSetErrorMessage(device->instance->debugger, (gnMessageData){
.message = gnCreateString("Stencil attachments are not currently supported in metal (get on this)")
});
MTLRenderPassStencilAttachmentDescriptor* stencilAttachment = framebuffer->framebuffer->framebuffer.stencilAttachment;
stencilAttachment.texture = info.attachments[i]->texture->texture;
wasDepthStencil = gnTrue;
}