[texture_cache] Enforce conservative 3D texture aliasing. Consistently merge/lookup images #17

Merged
sdkchan merged 1 commit from texture-cache-fix into main 2025-08-10 12:06:51 +00:00
Collaborator

Previously, the merging strategy is permissive but the lookup strategy is strict. Together they create a infinite merge loop because lookup always fails and merges are always executed.
The last attempt to fix this issue made the lookup strategy more permissive which created unexpected aliased textures.
This commit implements an alternative: make the merging strategy strict.

Reviewed-on: #196
Reviewed-by: Shinmegumi shinmegumi@eden-emu.dev
Co-authored-by: weakboson weakboson@quantum-field.net
Co-committed-by: weakboson weakboson@quantum-field.net

Previously, the merging strategy is permissive but the lookup strategy is strict. Together they create a infinite merge loop because lookup always fails and merges are always executed. The last attempt to fix this issue made the lookup strategy more permissive which created unexpected aliased textures. This commit implements an alternative: make the merging strategy strict. Reviewed-on: #196 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev> Co-authored-by: weakboson <weakboson@quantum-field.net> Co-committed-by: weakboson <weakboson@quantum-field.net>
[texture_cache] Enforce conservative 3D texture aliasing. Consistently merge/lookup images
Some checks failed
codespell / Check for spelling errors (pull_request) Has been cancelled
5376fd9365
sdkchan deleted branch texture-cache-fix 2025-08-10 12:06:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Bix/yuzu!17
No description provided.