diff options
| author | 2018-04-17 21:39:15 -0400 | |
|---|---|---|
| committer | 2018-04-17 21:39:15 -0400 | |
| commit | 4a8eb6745e5124c41df895e1a5800d65a574bdb3 (patch) | |
| tree | 22c16f8cc1463c33811d1b2e42b206ed3e396961 | |
| parent | Merge pull request #341 from shinyquagsire23/pfs-hfs-impl (diff) | |
| download | yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.gz yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.tar.xz yuzu-4a8eb6745e5124c41df895e1a5800d65a574bdb3.zip | |
maxwell3d: Allow Texture2DNoMipmap as Texture2D.
Diffstat (limited to '')
| -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 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 { | |||
| 223 | ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear, | 223 | ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear, |
| 224 | "TIC versions other than BlockLinear are unimplemented"); | 224 | "TIC versions other than BlockLinear are unimplemented"); |
| 225 | 225 | ||
| 226 | ASSERT_MSG(tic_entry.texture_type == Texture::TextureType::Texture2D, | 226 | ASSERT_MSG((tic_entry.texture_type == Texture::TextureType::Texture2D) || |
| 227 | (tic_entry.texture_type == Texture::TextureType::Texture2DNoMipmap), | ||
| 227 | "Texture types other than Texture2D are unimplemented"); | 228 | "Texture types other than Texture2D are unimplemented"); |
| 228 | 229 | ||
| 229 | auto r_type = tic_entry.r_type.Value(); | 230 | auto r_type = tic_entry.r_type.Value(); |