mirror of https://git.suyu.dev/suyu/suyu
Fixed shader linking error due to TLDS (#1934)
* Fixed shader linking error due to TLDS coord should be coords * Fix remaining coords
This commit is contained in:
parent
ae582b6669
commit
8047873a66
|
@ -1755,7 +1755,7 @@ private:
|
||||||
instr.tlds.GetTextureProcessMode() == Tegra::Shader::TextureProcessMode::LL;
|
instr.tlds.GetTextureProcessMode() == Tegra::Shader::TextureProcessMode::LL;
|
||||||
|
|
||||||
constexpr std::array<const char*, 4> coord_container{
|
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];
|
std::string coord = coord_container[total_coord_count];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue