Fix DC & AOFFI combinaison with TEX/TEXS

This commit is contained in:
Thog 2018-12-07 16:52:07 +01:00
parent f04853ee10
commit 0879ec824e
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -1491,7 +1491,7 @@ namespace Ryujinx.Graphics.Gal.Shader
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) + "))");