diff --git a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs index 975bae5452..ebb017d831 100644 --- a/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs +++ b/Ryujinx.Graphics/Gal/Shader/GlslDecompiler.cs @@ -1458,8 +1458,7 @@ namespace Ryujinx.Graphics.Gal.Shader } // TODO: Support LBA and LLA - // TODO: mipmap support, uncomment this when done. - /*if ((Suffix & TextureInstructionSuffix.LZ) != 0) + if ((Suffix & TextureInstructionSuffix.LZ) != 0) { if ((Suffix & TextureInstructionSuffix.AOffI) != 0) { @@ -1492,8 +1491,7 @@ namespace Ryujinx.Graphics.Gal.Shader return "textureLod(" + Sampler + ", " + Coords + ", " + GetOperExpr(Op, Meta.LevelOfDetail) + ")" + ChString; } - else */ - if ((Suffix & TextureInstructionSuffix.AOffI) != 0) + else if (Suffix == TextureInstructionSuffix.AOffI) { string Offset = GetTextureOffset(Meta, "floatBitsToInt((" + GetOperExpr(Op, Meta.Offset) + "))");