fix some code style issues

This commit is contained in:
Thog 2018-12-04 21:37:24 +01:00
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, GalTextureMipFilter MipFilter,
GalColorF BorderColor, GalColorF BorderColor,
bool DepthCompare, bool DepthCompare,
DepthCompareFunc DepthCompareFunc) DepthCompareFunc DepthCompareFunc)
{ {
this.AddressU = AddressU; this.AddressU = AddressU;
this.AddressV = AddressV; this.AddressV = AddressV;

View file

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