mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-29 13:15:29 +03:00
Fix texture manager depth compat comparison
This commit is contained in:
parent
500f817a28
commit
297597f697
@ -48,7 +48,7 @@ namespace skyline::gpu {
|
|||||||
if (matchGuestTexture.format->IsCompatible(*guestTexture.format) &&
|
if (matchGuestTexture.format->IsCompatible(*guestTexture.format) &&
|
||||||
((matchGuestTexture.dimensions.width == guestTexture.dimensions.width &&
|
((matchGuestTexture.dimensions.width == guestTexture.dimensions.width &&
|
||||||
matchGuestTexture.dimensions.height == guestTexture.dimensions.height &&
|
matchGuestTexture.dimensions.height == guestTexture.dimensions.height &&
|
||||||
matchGuestTexture.dimensions.depth == guestTexture.GetViewDepth())
|
matchGuestTexture.GetViewDepth() == guestTexture.GetViewDepth())
|
||||||
|| matchGuestTexture.viewMipBase > 0)
|
|| matchGuestTexture.viewMipBase > 0)
|
||||||
&& matchGuestTexture.tileConfig == guestTexture.tileConfig) {
|
&& matchGuestTexture.tileConfig == guestTexture.tileConfig) {
|
||||||
auto &texture{hostMapping->texture};
|
auto &texture{hostMapping->texture};
|
||||||
|
Loading…
Reference in New Issue
Block a user