mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Vulkan: Don't try to auto-mipmap 3D textures in max quality filter mode
This commit is contained in:
1 parent
c158414858
commit
99b4e7c54c
1 file changed
+1
-1
@@ -589,7 +589,7 @@ void TextureCacheVulkan::BuildTexture(TexCacheEntry *const entry) {
|
||||
}
|
||||
|
||||
int maxPossibleMipLevels;
|
||||
if (plan.isVideo) {
|
||||
if (plan.isVideo || plan.depth != 1) {
|
||||
maxPossibleMipLevels = 1;
|
||||
} else {
|
||||
maxPossibleMipLevels = log2i(std::min(plan.w * plan.scaleFactor, plan.h * plan.scaleFactor)) + 1;
|
||||
|
||||
Reference in new issue
Block a user