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

GPU: Clear alpha more consistently from 565 #11337

Merged
merged 1 commit into from
Sep 1, 2018

Conversation

unknownbrackets
Copy link
Collaborator

Before, the backends all did different things. Now they are more in sync, but Vulkan still behaves slightly differently.

Fixes #11326.

For the purposes of Kingdom Hearts, clearing alpha is the important bit here. Really, the right thing to do is reinterpret bits to a new framebuf, copy over depth, and somehow reinterpret bits into stencil too. It's arguable what the best thing to do for other games is.

Before, behavior was very inconsistent:
#11326 (comment)

This makes it a bit more consistent, although perhaps we could get away with clearing everything everywhere and hope no game breaks.

This also removes pointless rebinds (it's always the current framebuf.)

-[Unknown]

Before, the backends all did different things.  Now they are more in sync,
but Vulkan still behaves slightly differently.

Fixes hrydgard#11326.
@unknownbrackets unknownbrackets added this to the v1.7.0 milestone Aug 31, 2018
@unknownbrackets
Copy link
Collaborator Author

Rekicked iOS, it failed for some Travis reason...

-[Unknown]

@hrydgard hrydgard merged commit 2f060a4 into hrydgard:master Sep 1, 2018
@unknownbrackets unknownbrackets deleted the kh-shadow branch September 1, 2018 13:48
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.

2 participants