Browse Source

Fixed shader linking error due to TLDS (#1934)

* Fixed shader linking error due to TLDS

coord should be coords

* Fix remaining coords
nce_cpp
David 7 years ago
committed by bunnei
parent
commit
615a0df6b6
  1. 2
      src/video_core/renderer_opengl/gl_shader_decompiler.cpp

2
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];

Loading…
Cancel
Save