Add XML documentation to Ryujinx.Graphics.Gpu

This commit is contained in:
gdkchan 2019-12-31 17:08:20 -03:00 committed by Thog
parent 4a4e2f7c72
commit f7bcc884e4
10 changed files with 355 additions and 30 deletions

View file

@ -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;
}
}