From 4a8eb6745e5124c41df895e1a5800d65a574bdb3 Mon Sep 17 00:00:00 2001 From: bunnei Date: Tue, 17 Apr 2018 21:39:15 -0400 Subject: maxwell3d: Allow Texture2DNoMipmap as Texture2D. --- src/video_core/engines/maxwell_3d.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index 0e1d6d785..85b50c9b3 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -223,7 +223,8 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const { ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear, "TIC versions other than BlockLinear are unimplemented"); - ASSERT_MSG(tic_entry.texture_type == Texture::TextureType::Texture2D, + ASSERT_MSG((tic_entry.texture_type == Texture::TextureType::Texture2D) || + (tic_entry.texture_type == Texture::TextureType::Texture2DNoMipmap), "Texture types other than Texture2D are unimplemented"); auto r_type = tic_entry.r_type.Value(); -- cgit v1.2.3