eden-miror/src/video_core/texture_cache
weakboson 33275c28d3
[texture_cache] Enforce conservative 3D texture aliasing. Consistently merge/lookup images. (#196)
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: https://git.eden-emu.dev/eden-emu/eden/pulls/196
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
Co-authored-by: weakboson <weakboson@quantum-field.net>
Co-committed-by: weakboson <weakboson@quantum-field.net>
2025-08-04 18:39:17 +02:00
..
accelerated_swizzle.cpp Rework time service to fix time passing offline. 2024-01-24 04:26:55 +00:00
accelerated_swizzle.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
decode_bc.cpp video_core: Fix buffer_row_length computation for linear compressed textures 2023-12-26 16:33:03 +02:00
decode_bc.h video_core: Fix buffer_row_length computation for linear compressed textures 2023-12-26 16:33:03 +02:00
descriptor_table.h Move to Clang Format 15 2023-01-29 17:49:42 -07:00
format_lookup_table.cpp add Z32, FLOAT, UINT, UINT, UINT, LINEAR to format lookup table 2023-10-09 02:13:17 +11:00
format_lookup_table.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
formatter.cpp Get out of render pass before query barriers, fix image names with samples > 1, remove image alias bit 2023-10-11 17:15:35 +01:00
formatter.h Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
image_base.cpp texture_cache: process aliases and overlaps in the correct order 2023-05-24 09:53:42 +02:00
image_base.h ci: fix new codespell errors 2023-10-02 18:03:05 -04:00
image_info.cpp Update fmt to allow for v11 2025-04-10 01:11:22 +02:00
image_info.h Texture Cache: Fix untracking on GPU remap 2024-02-10 14:49:49 +01:00
image_view_base.cpp Implement X8_D24 format 2023-10-06 00:58:30 +01:00
image_view_base.h video_core: Add per-image anisotropy heuristics (format & mip count) 2023-06-15 18:19:32 +02:00
image_view_info.cpp common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
image_view_info.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
render_targets.h general: fix compile for Apple Clang 2022-11-22 22:22:28 -05:00
samples_helper.h Get out of render pass before query barriers, fix image names with samples > 1, remove image alias bit 2023-10-11 17:15:35 +01:00
texture_cache.cpp general: Format licenses as per SPDX guidelines 2022-10-06 21:00:54 +02:00
texture_cache.h [texture_cache] Enforce conservative 3D texture aliasing. Consistently merge/lookup images. (#196) 2025-08-04 18:39:17 +02:00
texture_cache_base.h revert [android] Snapdragon 865 patches (#23) 2025-07-12 20:10:40 +02:00
types.h VideoCore: Move Slot Vector to Common 2024-02-04 20:01:47 +01:00
util.cpp [texture_cache] Enforce conservative 3D texture aliasing. Consistently merge/lookup images. (#196) 2025-08-04 18:39:17 +02:00
util.h Use spans over guest memory where possible instead of copying data. 2023-07-02 23:09:48 +01:00