maplibre-native icon indicating copy to clipboard operation
maplibre-native copied to clipboard

Metal API Validation issue in -[MTLDebugRenderCommandEncoder setRenderPipelineState:]

Open JesseCrocker opened this issue 5 months ago • 2 comments

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.

JesseCrocker avatar Sep 16 '24 19:09 JesseCrocker