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

vk: Restructure renderpass management to accomodate input attachments #10382

Merged
merged 3 commits into from Jun 1, 2021

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented May 31, 2021

Input attachments are the preferred way to sample a framebuffer in a feedback loop and are the only technique allowed by the spec. This PR adds support for input attachments. While initially used for attachment clears as a proof that it works, that pass has also been rewritten in the second commit to remove all reads. This should improve performance while also complying with spec.

With this PR I see no validation errors when SRM is enabled in most games and a lot of random crashing is gone when combined with the previous PR that also cleaned up a lot of UB code.

kd-11 added 2 commits May 31, 2021 23:52
- Completely removes the feedback loop and replaces with hardware channel masking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants