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: Copy only up to old RT size on preload overlap #10409

Merged
merged 2 commits into from Dec 15, 2023

Conversation

refractionpcsx2
Copy link
Member

Description of Changes

Correctly handle the height of copies from old render targets when preloading.

Rationale behind Changes

It was copying too much if the target not only overlapped the old one, but was also much bigger, causing crashes (mainly on DX12)

Suggested Testing Steps

Test hitman contracts, and any other game which crashed on DX12

Copy link
Contributor

@lightningterror lightningterror left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DX12 no longer crashes.

@refractionpcsx2 refractionpcsx2 merged commit 0fd5db9 into master Dec 15, 2023
22 checks passed
@refractionpcsx2 refractionpcsx2 deleted the gs_copytargetheight branch December 15, 2023 12: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.

None yet

2 participants