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: Fix up and restore some old valid channel behaviour #9870

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Fixes requires rgb/alpha detection and modifies behaviour to semi resemble the old behaviour.

Rationale behind Changes

We don't really deal with the alpha channels properly if it's expecting some level of preloaded stuff, we kinda fall over. The old code used to just check if RGB was valid for normal formats, but that cause problems with games storing fonts in the alpha channel, but now the detection is improved to do similar, unless only the alpha is required, then the alpha is checked.

Suggested Testing Steps

Test random games and Hitman 2 + Tony Hawk Pro Skater 4

Fixes Tony Hawk Pro Skater 2 black screen
Fixes Hitman 2 black screen

@refractionpcsx2 refractionpcsx2 merged commit f4d6387 into master Aug 28, 2023
22 checks passed
@refractionpcsx2 refractionpcsx2 deleted the gs_sourcealpha branch August 28, 2023 11: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

3 participants