Revert "Disable LL, LZ and LB support in the decompiler"
This reverts commit 64536c3d9f673645faff3152838d1413c3203395.
This commit is contained in:
parent
19ec09112f
commit
e3d9609f7e
1 changed files with 2 additions and 4 deletions
|
@ -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) + "))");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue