Disable LL, LZ and LB support in the decompiler

This needs more work at the GL level (GLSL implementation should be
right)
This commit is contained in:
Thog 2018-12-05 17:29:21 +01:00
parent bdeb47d97d
commit 19ec09112f
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6

View file

@ -1458,7 +1458,8 @@ namespace Ryujinx.Graphics.Gal.Shader
}
// TODO: Support LBA and LLA
if ((Suffix & TextureInstructionSuffix.LZ) != 0)
// TODO: mipmap support, uncomment this when done.
/*if ((Suffix & TextureInstructionSuffix.LZ) != 0)
{
if ((Suffix & TextureInstructionSuffix.AOffI) != 0)
{
@ -1491,7 +1492,8 @@ 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) + "))");