diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Constants.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Constants.cs | 42 |
1 files changed, 38 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Gpu/Constants.cs b/Ryujinx.Graphics.Gpu/Constants.cs index 501933fb..ff5b9f94 100644 --- a/Ryujinx.Graphics.Gpu/Constants.cs +++ b/Ryujinx.Graphics.Gpu/Constants.cs @@ -1,14 +1,48 @@ namespace Ryujinx.Graphics.Gpu { + /// <summary> + /// Common Maxwell GPU constants. + /// </summary> static class Constants { + /// <summary> + /// Maximum number of compute uniform buffers. + /// </summary> public const int TotalCpUniformBuffers = 8; + + /// <summary> + /// Maximum number of compute storage buffers (this is a API limitation). + /// </summary> public const int TotalCpStorageBuffers = 16; + + /// <summary> + /// Maximum number of graphics uniform buffers. + /// </summary> public const int TotalGpUniformBuffers = 18; + + /// <summary> + /// Maximum number of graphics storage buffers (this is a API limitation). + /// </summary> public const int TotalGpStorageBuffers = 16; - public const int TotalRenderTargets = 8; - public const int TotalShaderStages = 5; - public const int TotalVertexBuffers = 16; - public const int TotalViewports = 8; + + /// <summary> + /// Maximum number of render target color buffers. + /// </summary> + public const int TotalRenderTargets = 8; + + /// <summary> + /// Number of shader stages. + /// </summary> + public const int TotalShaderStages = 5; + + /// <summary> + /// Maximum number of vertex buffers. + /// </summary> + public const int TotalVertexBuffers = 16; + + /// <summary> + /// Maximum number of viewports. + /// </summary> + public const int TotalViewports = 8; } }
\ No newline at end of file |
