diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs index ff186acc..fd1cb0ea 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Threed/DrawState.cs @@ -23,6 +23,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed public bool DrawIndexed; /// <summary> + /// Indicates if the next draw will be a indirect draw. + /// </summary> + public bool DrawIndirect; + + /// <summary> /// Indicates if any of the currently used vertex shaders reads the instance ID. /// </summary> public bool VsUsesInstanceId; @@ -33,6 +38,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Threed public bool IsAnyVbInstanced; /// <summary> + /// Indicates that the draw is writing the base vertex, base instance and draw index to Constant Buffer 0. + /// </summary> + public bool HasConstantBufferDrawParameters; + + /// <summary> /// Primitive topology for the next draw. /// </summary> public PrimitiveTopology Topology; |