From b92b4bbeaf4de0200044c7fb24875b2b91d508c9 Mon Sep 17 00:00:00 2001 From: raven02 Date: Sun, 30 Sep 2018 10:35:48 +0800 Subject: Fix trailing whitespace --- src/video_core/renderer_opengl/gl_shader_decompiler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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: std::string coord; const Tegra::Shader::TextureType texture_type{instr.tlds.GetTextureType()}; const bool is_array{instr.tlds.IsArrayTexture()}; - + + ASSERT(texture_type == Tegra::Shader::TextureType::Texture2D); + ASSERT(is_array == false); + ASSERT_MSG(!instr.tlds.UsesMiscMode(Tegra::Shader::TextureMiscMode::NODEP), "NODEP is not implemented"); ASSERT_MSG(!instr.tlds.UsesMiscMode(Tegra::Shader::TextureMiscMode::AOFFI), -- cgit v1.2.3