Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan: Only use geometry shaders with accurate depth #16442

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

unknownbrackets
Copy link
Collaborator

Just to be safe, since that's what it's most well tested with. See #15661 - some of these devices intentionally disable accurate depth for a subset of games, which is probably an old workaround to problems possibly solved with depth clamp or geometry shaders.

Anyway, let's not use geometry shaders without accurate depth, because I'm not sure they work and don't want to worry about that path.

-[Unknown]

Just to be safe, since that's what it's most well tested with.
@unknownbrackets unknownbrackets added the Depth / Z Issue involves depth drawing parameters. label Nov 27, 2022
@unknownbrackets unknownbrackets added this to the v1.14.0 milestone Nov 27, 2022
@hrydgard hrydgard merged commit e4998ad into hrydgard:master Nov 27, 2022
@unknownbrackets unknownbrackets deleted the vulkan-geometry-safety branch November 27, 2022 08:10
@ghost
Copy link

ghost commented Nov 27, 2022

This could help the crash in #9830 (comment)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Depth / Z Issue involves depth drawing parameters.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants