Fix ShaderTools GpuAcessor default values (#5646)

This commit is contained in:
gdkchan 2023-09-04 20:16:09 -03:00 committed by GitHub
parent c2d9c6955d
commit 5ff6ea6d82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,26 @@ namespace Ryujinx.Graphics.Shader
/// <returns>GPU graphics state</returns>
GpuGraphicsState QueryGraphicsState()
{
return default;
return new GpuGraphicsState(
false,
InputTopology.Points,
false,
TessPatchType.Triangles,
TessSpacing.EqualSpacing,
false,
false,
false,
false,
false,
1f,
AlphaTestOp.Always,
0f,
default,
true,
default,
false,
false,
false);
}
/// <summary>