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

Correct issue where texturelod could not be applied to 2darrayshadow

This commit is contained in:
FernandoS27 2018-11-07 21:48:45 -04:00
parent ad2f47b579
commit d347623d6f

View file

@ -2777,7 +2777,11 @@ private:
break;
}
case Tegra::Shader::TextureProcessMode::LZ: {
if (depth_compare && is_array) {
texture = "texture(" + sampler + ", coords)";
} else {
texture = "textureLod(" + sampler + ", coords, 0.0)";
}
break;
}
case Tegra::Shader::TextureProcessMode::LL: {