Pink screen on MTLCommandBuffer.presentDrawable.

I rewrote my graphics pipeline to use Load/Store better for clearing and don't care cases. All my tests pass, and in the Metal debugger, all the draw calls succeed.

But when I present drawables (before [commandBuffer commit]) I only get a pink screen. I've tried everything I can think of: making sure the pixel formats are the same for the back buffer as my render targets, etc. But it's still pink.

Could you point me in the right direction so I can fix this, or help describe why it's pink. That would be really helpful.

Thank you,

Brian Hapgood

Pink screen on MTLCommandBuffer.presentDrawable.
 
 
Q