Skip to content

GS/HW: Adjust shuffle predetect for only texture formats under 32bit - #14689

Merged
lightningterror merged 1 commit into
masterfrom
gs_shuffleprecheckbits
Jul 13, 2026
Merged

GS/HW: Adjust shuffle predetect for only texture formats under 32bit#14689
lightningterror merged 1 commit into
masterfrom
gs_shuffleprecheckbits

Conversation

@refractionpcsx2

Copy link
Copy Markdown
Member

Description of Changes

Only check for shuffles on textures which are 16bit or less in actual depth, not storage format.

Rationale behind Changes

Regression from #11461, I don't know why I said the texture format should be 32bits, makes no sense, a shuffle is always 16bit or less (on actual format size, rather than storage size), but there seems to be no regressions.

This caused it to errantly think it might be a shuffle on Gran Turismo 4 when generating the split time cars, meaning it had to request the RGB to be valid, which it wasn't on the texture it needed, it was only an alpha, so the lookup failed, making the alpha 0, so the cars were invisible.

Suggested Testing Steps

Test Gran Turismo 4 + variations, make sure the split time cars work.

Did you use AI to help find, test, or implement this issue or feature?

No

@lightningterror lightningterror added this to the Release 2.8 milestone Jul 12, 2026
@lightningterror
lightningterror merged commit 45b8338 into master Jul 13, 2026
28 checks passed
@lightningterror
lightningterror deleted the gs_shuffleprecheckbits branch July 13, 2026 21:45
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.

4 participants