Fix shader texture LOD query (#2397)

This commit is contained in:
gdkchan 2021-06-23 18:31:14 -03:00 committed by GitHub
parent ab9d4b862d
commit c71ae9c85c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -155,7 +155,7 @@ namespace Ryujinx.Graphics.Shader.Translation
{
return node;
}
bool isGather = (texOp.Flags & TextureFlags.Gather) != 0;
bool hasDerivatives = (texOp.Flags & TextureFlags.Derivatives) != 0;
bool intCoords = (texOp.Flags & TextureFlags.IntCoords) != 0;
@ -360,7 +360,7 @@ namespace Ryujinx.Graphics.Shader.Translation
texOp.Format,
texOp.Flags,
texOp.Handle,
1,
0,
lod,
lodSources));