Where to ask Metal programming question?

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:

Code Block failed assertion `For color attachment 2, the render pipeline's
pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's
pixelFormat (MTLPixelFormatBGRA8Unorm).'


Hi bsabiston,

Using the tags is the correct way to ask a question targeted at a specific topic, and you've correctly tagged this query as a Metal question!

In terms of your Metal question: the render pass descriptor and the pipeline descriptor must agree on the number render targets and the pixel formats to be used together.
Where to ask Metal programming question?
 
 
Q