mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-23 15:22:45 +01:00
Correct issue where texturelod could not be applied to 2darrayshadow
This commit is contained in:
parent
ad2f47b579
commit
d347623d6f
1 changed files with 5 additions and 1 deletions
|
@ -2777,7 +2777,11 @@ private:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Tegra::Shader::TextureProcessMode::LZ: {
|
case Tegra::Shader::TextureProcessMode::LZ: {
|
||||||
|
if (depth_compare && is_array) {
|
||||||
|
texture = "texture(" + sampler + ", coords)";
|
||||||
|
} else {
|
||||||
texture = "textureLod(" + sampler + ", coords, 0.0)";
|
texture = "textureLod(" + sampler + ", coords, 0.0)";
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Tegra::Shader::TextureProcessMode::LL: {
|
case Tegra::Shader::TextureProcessMode::LL: {
|
||||||
|
|
Loading…
Reference in a new issue