fix some code style issues

This commit is contained in:
Thog 2018-12-04 21:37:24 +01:00
parent 3e6f75772f
commit e496f4bfd4
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 3 additions and 1 deletions

View file

@ -24,7 +24,7 @@ namespace Ryujinx.Graphics.Gal
GalTextureMipFilter MipFilter,
GalColorF BorderColor,
bool DepthCompare,
DepthCompareFunc DepthCompareFunc)
DepthCompareFunc DepthCompareFunc)
{
this.AddressU = AddressU;
this.AddressV = AddressV;

View file

@ -1374,6 +1374,7 @@ namespace Ryujinx.Graphics.Gal.Shader
{
return $"vec2({GetOperExpr(Op, Meta.Coordinates[0])}{DepthArgument})";
}
return GetOperExpr(Op, Meta.Coordinates[0]);
case 2:
LastArgument = GetLastArgument(Meta.Coordinates[1]);
@ -1440,6 +1441,7 @@ namespace Ryujinx.Graphics.Gal.Shader
{
throw new NotSupportedException();
}
return "textureGather(" + Sampler + ", " + Coords + ", " + Comp + ")" + ChString;
}