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/TC: Remove old targets when changing width and outside a page #10470

Merged
merged 1 commit into from
Dec 28, 2023

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Removes old targets if the width changes and is drawing outside the height of a page, if it's not a clear and the target is dirty.

Rationale behind Changes

In this scenario, the likelyhood is the target is changing to something new, which was the case with Medal of Honor, causing the texture to be the wrong shape, which can mess up the rendering. The only other solution would be for us to rearrange targets on width change, but we don't do this currently.

Suggested Testing Steps

Test some random games and Medal of Honor - European Assault

Medal of Honor - European Assault:
Master:
image
PR:
image

@refractionpcsx2 refractionpcsx2 merged commit 913253d into master Dec 28, 2023
22 checks passed
@refractionpcsx2 refractionpcsx2 deleted the gs_removeoldtarget branch December 28, 2023 14:57
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