Skip to content

[MoltenVK] The depth buffer is broken on iOS #2

Open

Description

@Markos-Th09

The depth buffer is completely broken when running on iOS, and background elements (such as skyboxes, distant structures, and inner terrain walls) are actively rendered on top of closer foreground geometry.
Image

Activity

  1. Markos-Th09 commented on Jun 7, 2026

    @Markos-Th09
    OwnerAuthor

    Testing the native Metal backend by squidbus (hedge-dev#1648), the depth sorting issue does not seem to present itself.

    This indicates that the bug is likely not as complicated as initially thought. Since the native Metal pipeline maps the depth coordinates and attachments perfectly, the problem is likely highly localized to discrepancies unique to the Vulkan-to-MoltenVK translation layer on iOS drivers.

  2. changed the title [-]The depth buffer is broken on iOS[/-] [+][MoltenVK] The depth buffer is broken on iOS[/+] on Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions