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/HW: Limit GetValidSize max height and width. #12198

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

lightningterror
Copy link
Contributor

Description of Changes

GS/HW: Limit GetValidSize height and width.

Max texture size limit is 2048.
This should never happen but if it does clamp it

Rationale behind Changes

Prevent any crashes when target texture sizes are out of bounds.

Suggested Testing Steps

Smoke test, I didn't find any dump that triggered it.

Max texture size limit is 2048.
This should never happen but if it does clamp it
@lightningterror lightningterror merged commit b74d056 into master Jan 20, 2025
22 checks passed
@lightningterror lightningterror deleted the gs_limit_rt_sizes branch January 20, 2025 04:15
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.

1 participant