fix some code style issues
This commit is contained in:
parent
3e6f75772f
commit
e496f4bfd4
2 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue