mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 11:12:03 +00:00
Fix ShaderTools GpuAcessor default values (#5646)
This commit is contained in:
parent
c2d9c6955d
commit
5ff6ea6d82
1 changed files with 20 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue