Post not yet marked as solved
Post marked as unsolved with 1 replies, 470 views
Do these forums not have categories? I have a question about using Metal's RenderPassDescriptor colorAttachments.
If I set up three color attachments in the renderDescriptor, is it necessary for the Pipeline Descriptors to support those three attachments? In other words? Can some pipelines use only 2 of the attachments and ignore the 3rd?
I added a 3rd attachment for one particular shader, but I don't want to use it at other times. But I am getting an error from one of the pipelines that doesn't reference it:
pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's
pixelFormat (MTLPixelFormatBGRA8Unorm).'