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: Ensure valid alpha doesn't get cleared on 24-bit targets #11151

Merged
merged 1 commit into from
Apr 27, 2024
Merged

GS/HW: Ensure valid alpha doesn't get cleared on 24-bit targets #11151

merged 1 commit into from
Apr 27, 2024

Conversation

stenzek
Copy link
Contributor

@stenzek stenzek commented Apr 27, 2024

Description of Changes

Pitfall: The Lost Expedition clears a Z24 depth buffer via a colour write, that was previously the target of a G->A channel shuffle, then uses it as a texture. We were clearing the target, despite it still having valid data in the alpha channel. So, don't do that.

Rationale behind Changes

Fixes #11150.

Suggested Testing Steps

Check linked GS dump / game.

@stenzek stenzek merged commit f5c3cd0 into PCSX2:master Apr 27, 2024
12 checks passed
@stenzek stenzek deleted the pitballs branch April 27, 2024 10:23
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.

[BUG]: Impossible to see some underwater levels in Pitfall: The Lost Expedition
2 participants