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:
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:
Code Block failed assertion `For color attachment 2, the render pipeline's pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's pixelFormat (MTLPixelFormatBGRA8Unorm).'