summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-18 03:39:15 +0200
committerbunnei <bunneidev@gmail.com>2018-04-18 03:39:15 +0200
commit4a8eb6745e5124c41df895e1a5800d65a574bdb3 (patch)
tree22c16f8cc1463c33811d1b2e42b206ed3e396961 /src/video_core/engines/maxwell_3d.cpp
parentMerge pull request #341 from shinyquagsire23/pfs-hfs-impl (diff)
downloadyuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar
yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.gz
yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.bz2
yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.lz
yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.xz
yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.zst
yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r--src/video_core/engines/maxwell_3d.cpp3
1 files changed, 2 insertions, 1 deletions
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();