mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-29 21:43:01 +00:00
48 lines
No EOL
1.3 KiB
C#
48 lines
No EOL
1.3 KiB
C#
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;
|
|
|
|
/// <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;
|
|
}
|
|
} |