GS/HW: Take render target end block for channel shuffles if bigger #11341
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
Takes the render target end block if bigger than calculated end on channel shuffle
Rationale behind Changes
Source isn't a perfect source of truth, if it's not drawn the entire size of it the end block may be incorrect. We kinda cheat with channel shuffles anyways, so if the render target end is larger, assume that ending.
Suggested Testing Steps
Test Mercenaries (already done)
Master:
![image](https://private-user-images.githubusercontent.com/6278726/337369345-96ad5adb-4f30-4028-bad2-6de748bd4d8c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1OTg2NzIsIm5iZiI6MTczOTU5ODM3MiwicGF0aCI6Ii82Mjc4NzI2LzMzNzM2OTM0NS05NmFkNWFkYi00ZjMwLTQwMjgtYmFkMi02ZGU3NDhiZDRkOGMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMDU0NjEyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWQ4ZmJjYjcwMWM1YmFlN2I1Z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