GS/HW: Improve channel shuffle detection and use on 24bit sources#13794
Merged
lightningterror merged 2 commits intomasterfrom Jan 17, 2026
Merged
GS/HW: Improve channel shuffle detection and use on 24bit sources#13794lightningterror merged 2 commits intomasterfrom
lightningterror merged 2 commits intomasterfrom
Conversation
Contributor
6516c01 to
95f8532
Compare
Mrlinkwii
approved these changes
Jan 11, 2026
Mrlinkwii
approved these changes
Jan 12, 2026
Member
JordanTheToaster
approved these changes
Jan 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



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:

PR:

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

PR:
