Преглед изворни кода

maxwell_3d: Remove assert that no longer applies.

bunnei пре 7 година
родитељ
комит
fdd5c97a14
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      src/video_core/engines/maxwell_3d.cpp

+ 0 - 4
src/video_core/engines/maxwell_3d.cpp

@@ -293,10 +293,6 @@ Texture::TICEntry Maxwell3D::GetTICEntry(u32 tic_index) const {
                    tic_entry.header_version == Texture::TICHeaderVersion::Pitch,
                    tic_entry.header_version == Texture::TICHeaderVersion::Pitch,
                "TIC versions other than BlockLinear or Pitch are unimplemented");
                "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),
-               "Texture types other than Texture2D are unimplemented");
-
     auto r_type = tic_entry.r_type.Value();
     auto r_type = tic_entry.r_type.Value();
     auto g_type = tic_entry.g_type.Value();
     auto g_type = tic_entry.g_type.Value();
     auto b_type = tic_entry.b_type.Value();
     auto b_type = tic_entry.b_type.Value();