diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-18 04:17:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 04:17:07 +0200 |
commit | c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca (patch) | |
tree | c9843ee4078d8d1180c92d033fad123d28c6a1a0 /src/video_core/engines/maxwell_3d.cpp | |
parent | Merge pull request #344 from bunnei/shader-decompiler-p2 (diff) | |
parent | gl_rasterizer_cache: Add missing LOG statements. (diff) | |
download | yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.gz yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.bz2 yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.lz yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.xz yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.zst yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.zip |
Diffstat (limited to 'src/video_core/engines/maxwell_3d.cpp')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 3 |
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 41f0e5c9b..a2f162602 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -221,7 +221,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(); |