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 16bit depth conversion in shuffles + fix NFSU CRC #10447

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

refractionpcsx2
Copy link
Member

@refractionpcsx2 refractionpcsx2 commented Dec 22, 2023

Description of Changes

Fixes the 16bit depth conversion on shuffles
Also fix the size of the shuffle draw in the CRC hack for NFS Undercover. Handling the shuffle properly is likely possible, but would need a lot of retooling of the split shuffle handling, and I suspect it will break things.

Rationale behind Changes

When the texture was actually 16bit depth on a shuffle, it was telling the shader that the format was actually 32bit, so the conversion was incorrect, breaking the shuffle. Used as a DOF effect.
The CRC was getting trolled by the shuffle code which was halving the width of the draw.

Suggested Testing Steps

Test NFS Undercover, nothing else really affected.

Master:
image
PR:
image

@refractionpcsx2 refractionpcsx2 merged commit 6a0bbea into master Dec 22, 2023
22 checks passed
@refractionpcsx2 refractionpcsx2 deleted the gs_z16shuffle branch December 22, 2023 19:33
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.

3 participants