1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00

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> /// <returns>GPU graphics state</returns>
GpuGraphicsState QueryGraphicsState() 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> /// <summary>