mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-02-15 17:35:34 +00:00
13 lines
503 B
C#
13 lines
503 B
C#
|
namespace Ryujinx.Graphics.Metal
|
||
|
{
|
||
|
static class Constants
|
||
|
{
|
||
|
// TODO: Check these values, these were largely copied from Vulkan
|
||
|
public const int MaxShaderStages = 5;
|
||
|
public const int MaxUniformBuffersPerStage = 18;
|
||
|
public const int MaxStorageBuffersPerStage = 16;
|
||
|
public const int MaxTexturesPerStage = 64;
|
||
|
public const int MaxCommandBuffersPerQueue = 16;
|
||
|
public const int MaxTextureBindings = MaxTexturesPerStage * MaxShaderStages;
|
||
|
}
|
||
|
}
|