maplibre-native
maplibre-native copied to clipboard
Metal API Validation issue in -[MTLDebugRenderCommandEncoder setRenderPipelineState:]
Describe the bug
-[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1615: failed assertion `Set Render Pipeline State Validation
For depth attachment, the render pipeline's pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's pixelFormat (MTLPixelFormatDepth32Float_Stencil8).
For stencil attachment, the render pipeline's pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's pixelFormat (MTLPixelFormatDepth32Float_Stencil8).
I am seeing this crash when animating a second map onto the screen in a sheet, but im not actually sure if that has anything to do with it.
Platform information (please complete the following information):
- OS: iOS 17.6.1, iPhone se 2022
- Platform iOS
- Version 6.6.0
I dont yet have a test case for this, but will work on one.