mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-11-21 17:20:52 -05:00
some initial metal commits cherry-picked
This commit is contained in:
13
src/Ryujinx.Graphics.Metal/Constants.cs
Normal file
13
src/Ryujinx.Graphics.Metal/Constants.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user