[vk] Remove improper check for image depth in texture cache. #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.4f662e42fa
to466503adbe