diff options
| author | 2018-09-30 10:35:48 +0800 | |
|---|---|---|
| committer | 2018-09-30 23:51:10 +0800 | |
| commit | b92b4bbeaf4de0200044c7fb24875b2b91d508c9 (patch) | |
| tree | ec6d37530271d1058c3870268a2311985f415e6f /src | |
| parent | Merge branch 'master' into tlds (diff) | |
| download | yuzu-b92b4bbeaf4de0200044c7fb24875b2b91d508c9.tar.gz yuzu-b92b4bbeaf4de0200044c7fb24875b2b91d508c9.tar.xz yuzu-b92b4bbeaf4de0200044c7fb24875b2b91d508c9.zip | |
Fix trailing whitespace
Diffstat (limited to '')
| -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), |