Skip to content

GS/HW: Improve channel shuffle detection and use on 24bit sources#13794

Merged
lightningterror merged 2 commits intomasterfrom
gs_channelshuffle_detect
Jan 17, 2026
Merged

GS/HW: Improve channel shuffle detection and use on 24bit sources#13794
lightningterror merged 2 commits intomasterfrom
gs_channelshuffle_detect

Conversation

@refractionpcsx2
Copy link
Copy Markdown
Member

@refractionpcsx2 refractionpcsx2 commented Jan 9, 2026

Description of Changes

Improves lookup of sources when 24 bit targets are involved. Also merges single page targets in to larget targets if they overlap.

Rationale behind Changes

Channel shuffles specifically, always just requested entire targets to have valid information when looking up the source, however in some cases like with MotoGP, the source of the shuffle is a 24bit target, so there is no valid alpha, so the lookup was failing, causing the shuffle to completely fall over. This corrects that by pre-checking what channels the shuffle requires for the read.

Suggested Testing Steps

Test MotoGP, L.A. Rush, but also make sure the Hitman games, The Godfather, Project Snowblind, Midnight Club and Malace are all okay too (they showed up in the dump run, but nothing scary changed).

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

No

Fixes #12569 L.A Rush post processing in stunts
Fixes MotoGP in hardware mode

L.A Rush:

Master:
image

PR:
image

MotoGP:

Master (with the new fixes, otherwise completely black):
image

PR:
image

@Mrlinkwii
Copy link
Copy Markdown
Contributor

sizable increases to LA RUSH

before : 7fps AFTER :80-90FPS

BEFORE :
image
AFTER
image

@refractionpcsx2 refractionpcsx2 force-pushed the gs_channelshuffle_detect branch from 6516c01 to 95f8532 Compare January 10, 2026 21:13
@JordanTheToaster JordanTheToaster added this to the Release 2.8 milestone Jan 12, 2026
@JordanTheToaster
Copy link
Copy Markdown
Member

LA Rush is significantly faster.

image

@lightningterror lightningterror merged commit 304a7f9 into master Jan 17, 2026
24 checks passed
@lightningterror lightningterror deleted the gs_channelshuffle_detect branch January 17, 2026 17:18
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.

LA rush broken stunts missions in HW renderer

4 participants