diff options
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp index 00cd05e62..702ffbe9c 100644 --- a/src/video_core/renderer_opengl/gl_shader_decompiler.cpp +++ b/src/video_core/renderer_opengl/gl_shader_decompiler.cpp | |||
| @@ -2021,7 +2021,10 @@ private: | |||
| 2021 | std::string coord; | 2021 | std::string coord; |
| 2022 | const Tegra::Shader::TextureType texture_type{instr.tlds.GetTextureType()}; | 2022 | const Tegra::Shader::TextureType texture_type{instr.tlds.GetTextureType()}; |
| 2023 | const bool is_array{instr.tlds.IsArrayTexture()}; | 2023 | const bool is_array{instr.tlds.IsArrayTexture()}; |
| 2024 | 2024 | ||
| 2025 | ASSERT(texture_type == Tegra::Shader::TextureType::Texture2D); | ||
| 2026 | ASSERT(is_array == false); | ||
| 2027 | |||
| 2025 | ASSERT_MSG(!instr.tlds.UsesMiscMode(Tegra::Shader::TextureMiscMode::NODEP), | 2028 | ASSERT_MSG(!instr.tlds.UsesMiscMode(Tegra::Shader::TextureMiscMode::NODEP), |
| 2026 | "NODEP is not implemented"); | 2029 | "NODEP is not implemented"); |
| 2027 | ASSERT_MSG(!instr.tlds.UsesMiscMode(Tegra::Shader::TextureMiscMode::AOFFI), | 2030 | ASSERT_MSG(!instr.tlds.UsesMiscMode(Tegra::Shader::TextureMiscMode::AOFFI), |