mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-16 02:30:17 +00:00
* implement texture get data * reset all state before blit & clone state * format * support blit regions * implement source region for blit * replace bottom with top * account for 0 size * support image flipping * revert presentation fixes & y flip * revert * flip viewport vertically * switch face winding * comment * use SetBytes for texture clear * implement missing compute builtins * change storage and texture buffer alignment * correct compute builtins * don't use nullable for textures and samplers * remove incorrect texture get data implementation * Cleanup IntPtrs --------- Co-authored-by: Isaac Marovitz <isaacryu@icloud.com>
20 lines
807 B
C#
20 lines
807 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;
|
|
public const int MaxColorAttachments = 8;
|
|
// TODO: Check this value
|
|
public const int MaxVertexAttributes = 16;
|
|
// TODO: Check this value
|
|
public const int MaxVertexLayouts = 16;
|
|
public const int MaxTextures = 31;
|
|
public const int MaxSamplers = 31;
|
|
}
|
|
}
|