Răsfoiți Sursa

Fixed shader linking error due to TLDS (#1934)

* Fixed shader linking error due to TLDS

coord should be coords

* Fix remaining coords
David 7 ani în urmă
părinte
comite
8047873a66
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

+ 1 - 1
src/video_core/renderer_opengl/gl_shader_decompiler.cpp

@@ -1755,7 +1755,7 @@ private:
             instr.tlds.GetTextureProcessMode() == Tegra::Shader::TextureProcessMode::LL;
 
         constexpr std::array<const char*, 4> coord_container{
-            {"", "int coord = (", "ivec2 coord = ivec2(", "ivec3 coord = ivec3("}};
+            {"", "int coords = (", "ivec2 coords = ivec2(", "ivec3 coords = ivec3("}};
 
         std::string coord = coord_container[total_coord_count];