Revert "[GPU] Reset mip levels for non-mipmapped type"

This reverts commit eeb96f91a5.
This commit is contained in:
Gliniak 2024-08-10 18:15:16 +02:00
parent 1fdf250f7d
commit 320102db34
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ void GetSubresourcesFromFetchConstant(
uint32_t mip_page = fetch.mip_address & 0x1FFFF;
uint32_t mip_min_level, mip_max_level;
if (fetch.mip_filter == xenos::TextureFilter::kBaseMap || mip_page == 0) {
// Not taking mip_filter == kBaseMap into account for mip_max_level because
// the mip filter may be overridden by shader fetch instructions.
if (mip_page == 0) {
mip_min_level = 0;
mip_max_level = 0;
} else {