Fix DC & AOFFI combinaison with TEX/TEXS
This commit is contained in:
parent
f04853ee10
commit
0879ec824e
1 changed files with 1 additions and 1 deletions
|
@ -1491,7 +1491,7 @@ namespace Ryujinx.Graphics.Gal.Shader
|
||||||
|
|
||||||
return "textureLod(" + Sampler + ", " + Coords + ", " + GetOperExpr(Op, Meta.LevelOfDetail) + ")" + ChString;
|
return "textureLod(" + Sampler + ", " + Coords + ", " + GetOperExpr(Op, Meta.LevelOfDetail) + ")" + ChString;
|
||||||
}
|
}
|
||||||
else if (Suffix == TextureInstructionSuffix.AOffI)
|
else if ((Suffix & TextureInstructionSuffix.AOffI) != 0)
|
||||||
{
|
{
|
||||||
string Offset = GetTextureOffset(Meta, "floatBitsToInt((" + GetOperExpr(Op, Meta.Offset) + "))");
|
string Offset = GetTextureOffset(Meta, "floatBitsToInt((" + GetOperExpr(Op, Meta.Offset) + "))");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue