[vk] Remove improper check for image depth in texture cache. #164
No reviewers
Labels
No labels
android
audio
bug
ci
cmake
confirmed
core
desktop
duplicate
enhancement
frontend
fw
git
graphics
loader
nv gpu
ui
vulkan
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
eden-emu/eden!164
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "weakboson/eden:remove-improper-depth-check-texture-cache"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When looking for existing images, ImageBase::TryFindBase checks the depth of the existing image to be greater than the layer of the base + depth of the candidate.
However the depth of images are not updated when cache were merged causing the lookup to fail.
This commit disables this faulty check to fix a critical memory leak that crashes the emulator in some games.
[vk] Remove improper check for image depth in texture cache.to WIP: [vk] Remove improper check for image depth in texture cache.WIP: [vk] Remove improper check for image depth in texture cache.to [vk] Remove improper check for image depth in texture cache.4f662e42fa466503adbe