Fix ShaderTools GpuAcessor default values (#5646)

This commit is contained in:
gdkchan 2023-09-04 20:16:09 -03:00 committed by Matt Heins
parent 910cb436af
commit d825e08964

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>