diff options
author | bunnei <bunneidev@gmail.com> | 2018-04-18 20:46:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 20:46:10 +0200 |
commit | d3f9ea90e78dce585f23c71c969990439937b427 (patch) | |
tree | 618163c00bf621be9b7a44535493ceeaabd6257f /src/video_core/engines | |
parent | Merge pull request #346 from bunnei/misc-gpu-improvements (diff) | |
parent | GPU: Pitch textures are now supported, don't assert when encountering them. (diff) | |
download | yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.gz yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.bz2 yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.lz yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.xz yuzu-d3f9ea90e78dce585f23c71c969990439937b427.tar.zst yuzu-d3f9ea90e78dce585f23c71c969990439937b427.zip |
Diffstat (limited to 'src/video_core/engines')
-rw-r--r-- | src/video_core/engines/maxwell_3d.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp index a2f162602..2a3ff234a 100644 --- a/src/video_core/engines/maxwell_3d.cpp +++ b/src/video_core/engines/maxwell_3d.cpp @@ -218,8 +218,9 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const { Texture::TICEntry tic_entry; Memory::ReadBlock(tic_address_cpu, &tic_entry, sizeof(Texture::TICEntry)); - ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear, - "TIC versions other than BlockLinear are unimplemented"); + ASSERT_MSG(tic_entry.header_version == Texture::TICHeaderVersion::BlockLinear || + tic_entry.header_version == Texture::TICHeaderVersion::Pitch, + "TIC versions other than BlockLinear or Pitch are unimplemented"); ASSERT_MSG((tic_entry.texture_type == Texture::TextureType::Texture2D) || (tic_entry.texture_type == Texture::TextureType::Texture2DNoMipmap), |