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

GS/HW: Ignore alpha on double half clear if not used #11277

Merged
merged 1 commit into from
May 21, 2024

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Don't care about alpha on double half clear if the game isn't using it, or it's all black (as the clear is writing on the Z)

Rationale behind Changes

Tony Hawk Pro Skater 4 does this clear with the alpha masked, but Z32 for the bottom half (so writes to alpha area). Normally we avoid this because it's not really acceptable for a double half clear, but in this case, the game isn't actually using the alpha, and so it's black, so writing to it doesn't really matter.

Suggested Testing Steps

Test Tony Hawk Pro Skater 4 and look for some water, put it in the lower half of the screen.

Master (this did just multiply before until it was as bright as the sun:
image
PR:
image

@lightningterror lightningterror merged commit b512162 into master May 21, 2024
22 checks passed
@lightningterror lightningterror deleted the gs_doublehalfalpha branch May 21, 2024 13:07
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

4 participants