2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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:
David 2018-12-27 07:55:39 +11:00 committed by bunnei
parent ae582b6669
commit 8047873a66

View file

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