diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Constants.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Constants.cs | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Gpu/Constants.cs b/Ryujinx.Graphics.Gpu/Constants.cs index 026d12a9..d580049f 100644 --- a/Ryujinx.Graphics.Gpu/Constants.cs +++ b/Ryujinx.Graphics.Gpu/Constants.cs @@ -18,7 +18,7 @@ namespace Ryujinx.Graphics.Gpu /// Maximum number of compute storage buffers. /// </summary> /// <remarks> - /// The maximum number of storage buffers is API limited, the hardware supports a unlimited amount. + /// The maximum number of storage buffers is API limited, the hardware supports an unlimited amount. /// </remarks> public const int TotalCpStorageBuffers = 16; @@ -31,7 +31,7 @@ namespace Ryujinx.Graphics.Gpu /// Maximum number of graphics storage buffers. /// </summary> /// <remarks> - /// The maximum number of storage buffers is API limited, the hardware supports a unlimited amount. + /// The maximum number of storage buffers is API limited, the hardware supports an unlimited amount. /// </remarks> public const int TotalGpStorageBuffers = 16; @@ -41,6 +41,22 @@ namespace Ryujinx.Graphics.Gpu public const int TotalTransformFeedbackBuffers = 4; /// <summary> + /// Maximum number of textures on a single shader stage. + /// </summary> + /// <remarks> + /// The maximum number of textures is API limited, the hardware supports an unlimited amount. + /// </remarks> + public const int TotalTextures = 32; + + /// <summary> + /// Maximum number of images on a single shader stage. + /// </summary> + /// <remarks> + /// The maximum number of images is API limited, the hardware supports an unlimited amount. + /// </remarks> + public const int TotalImages = 8; + + /// <summary> /// Maximum number of render target color buffers. /// </summary> public const int TotalRenderTargets = 8; @@ -53,7 +69,7 @@ namespace Ryujinx.Graphics.Gpu /// <summary> /// Maximum number of vertex attributes. /// </summary> - public const int TotalVertexAttribs = 16; + public const int TotalVertexAttribs = 16; // FIXME: Should be 32, but OpenGL only supports 16. /// <summary> /// Maximum number of vertex buffers. |