Start Metal Backend
Revert build yml changes
This commit is contained in:
parent
5dbba07e33
commit
ebaf1d8258
24 changed files with 2576 additions and 2 deletions
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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue