DragCube3D fails with Metal validation assertion when resized

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • jfx27
    • Affects Version/s: jfx26
    • Component/s: javafx

      Resizing DragCube3D fails the assertion with

      -[MTLDebugRenderCommandEncoder setRenderPipelineState:]:1639: failed assertion `Set Render Pipeline State Validation
      For depth attachment, the render pipeline's pixelFormat (MTLPixelFormatInvalid) does not match the framebuffer's pixelFormat (MTLPixelFormatDepth32Float).

      To reproduce:

      - enable Metal API Validation with this command on the terminal : export METAL_DEVICE_WRAPPER_TYPE=1
      - launch DragCube3D test
      - resize window with the mouse


      reproduced on macOS 26.3 on M1 silicon.

      same scenario with PickTest3D does not crash.

      Keeping the priority to P4, as the issue happens only when Metal shader validation is enabled.

            Assignee:
            Jayathirth D V
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: