Skip to content

Fix macOS/AMD render corruption and depth issues#2298

Open
vkedwardli wants to merge 1 commit into
flyinghead:devfrom
vkedwardli:vulkan-non-reversed-z
Open

Fix macOS/AMD render corruption and depth issues#2298
vkedwardli wants to merge 1 commit into
flyinghead:devfrom
vkedwardli:vulkan-non-reversed-z

Conversation

@vkedwardli

Copy link
Copy Markdown
Collaborator

This fixes #1172 Vulkan rendering corruption and depth-ordering issues seen on macOS/AMD, by adding a toggleable non-reversed depth path for both standard and OIT rendering.

output

The new Non Reversed Depth Vulkan option keeps the original reversed-Z path as the default, and enables the alternate path only when needed.

On macOS/AMD with Vulkan, the default reversed-Z path could produce incorrect rendering in both regular and OIT scenes, including:

  • incorrect z-order
  • missing translucent alpha textures
  • missing UI elements
  • missing or incorrectly layered shadows

The OIT version also avoids fragment discard during insertion, which was causing missing alpha/UI/shadow on macOS/AMD

The goal of this PR is to verify that the macOS/AMD Vulkan issue can be fixed and to preserve a working reference for that fix.

…endering (fixes macOS/AMD render corruption and depth issues)
@vkedwardli vkedwardli linked an issue Apr 3, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AMD] Graphics corrupted with Vulkan on Mac

1 participant