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
Hello,
As my colleague suggests, it would be helpful to see a sample project to reproduce the issue.
However, that's not completely necessary since you can likely debug this yourself using the Metal debugger.
In particular, capture a GPU trace and then look at the dependency viewer. It will show the stage where your rendering pipeline fails.
If you like you can send us a screenshot of the dependency viewer for feedback.