summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar bunnei2018-04-17 22:17:07 -0400
committerGravatar GitHub2018-04-17 22:17:07 -0400
commitc93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca (patch)
treec9843ee4078d8d1180c92d033fad123d28c6a1a0 /src/video_core/engines
parentMerge pull request #344 from bunnei/shader-decompiler-p2 (diff)
parentgl_rasterizer_cache: Add missing LOG statements. (diff)
downloadyuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.gz
yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.tar.xz
yuzu-c93ea96366da6907d8c5d0a4f94c9c4ed7dd39ca.zip
Merge pull request #346 from bunnei/misc-gpu-improvements
Misc gpu improvements
Diffstat (limited to 'src/video_core/engines')
-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 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 {
221 ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear, 221 ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear,
222 "TIC versions other than BlockLinear are unimplemented"); 222 "TIC versions other than BlockLinear are unimplemented");
223 223
224 ASSERT_MSG(tic_entry.texture_type == Texture::TextureType::Texture2D, 224 ASSERT_MSG((tic_entry.texture_type == Texture::TextureType::Texture2D) ||
225 (tic_entry.texture_type == Texture::TextureType::Texture2DNoMipmap),
225 "Texture types other than Texture2D are unimplemented"); 226 "Texture types other than Texture2D are unimplemented");
226 227
227 auto r_type = tic_entry.r_type.Value(); 228 auto r_type = tic_entry.r_type.Value();