mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-09 07:42:34 -07:00
Start Metal Backend
Revert build yml changes
This commit is contained in:
committed by
Isaac Marovitz
parent
5dbba07e33
commit
ebaf1d8258
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