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

texture_cache: Make sure left-overlapped mips get marked for rebind. #2268

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

squidbus
Copy link
Collaborator

@squidbus squidbus commented Jan 29, 2025

Make sure a left-overlapped mip level gets marked for rebind, even if the replacement image has not been allocated yet.

Fixes some cases where, instead of rendering to the mip level, it will render to the base image since it wasn't rebound.

@squidbus squidbus requested a review from psucien January 29, 2025 11:53
@squidbus squidbus changed the title texture_cache: Mark texture for rebind in right overlap mip case. texture_cache: Make sure left-overlapped mips get marked for rebind. Jan 29, 2025
@squidbus
Copy link
Collaborator Author

Turned out to just be a case where left-overlap mip could miss being marked for rebind, adjusted accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant