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

renderer_vulkan: Simplify depth pipeline state and move stencil to dynamic state. #1854

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

squidbus
Copy link
Contributor

First of some changes I'm planning to cut down on pipeline key complexity, reducing the potential pipeline permutations needed.

This change moves the remaining stencil test configuration state (front/back face stencil ops) to dynamic state, using VK_EXT_extended_dynamic_state which we already require and is included as part of any Vulkan 1.3 driver. With that out of the way, it also cuts down the amount of depth state that can change the key by replacing the full depth control register data with just a couple of flags still needed to toggle different depth/stencil tests.

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.

1 participant