2021-08-12 06:09:56 +00:00
|
|
|
|
namespace Ryujinx.Graphics.Vulkan
|
|
|
|
|
{
|
|
|
|
|
static class Constants
|
|
|
|
|
{
|
|
|
|
|
public const int MaxVertexAttributes = 32;
|
|
|
|
|
public const int MaxVertexBuffers = 32;
|
|
|
|
|
public const int MaxTransformFeedbackBuffers = 4;
|
|
|
|
|
public const int MaxRenderTargets = 8;
|
|
|
|
|
public const int MaxViewports = 16;
|
|
|
|
|
public const int MaxShaderStages = 5;
|
|
|
|
|
public const int MaxUniformBuffersPerStage = 18;
|
|
|
|
|
public const int MaxStorageBuffersPerStage = 16;
|
2022-04-12 20:28:04 +00:00
|
|
|
|
public const int MaxTexturesPerStage = 64;
|
2021-08-12 06:09:56 +00:00
|
|
|
|
public const int MaxImagesPerStage = 8;
|
|
|
|
|
public const int MaxUniformBufferBindings = MaxUniformBuffersPerStage * MaxShaderStages;
|
|
|
|
|
public const int MaxStorageBufferBindings = MaxStorageBuffersPerStage * MaxShaderStages;
|
|
|
|
|
public const int MaxTextureBindings = MaxTexturesPerStage * MaxShaderStages;
|
|
|
|
|
public const int MaxImageBindings = MaxImagesPerStage * MaxShaderStages;
|
|
|
|
|
}
|
|
|
|
|
}
|