mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-14 06:50:17 +00:00
* check for too bix texture bindings * implement lod query * print shader stage name * always have fragment input * resolve merge conflicts * fix: lod query * fix: casting texture coords * support non-array memories * use structure types for buffers * implement compute pipeline cache * compute dispatch * improve error message * rebind compute state * bind compute textures * pass local size as an argument to dispatch * implement texture buffers * hack: change vertex index to vertex id * pass support buffer as an argument to every function * return at the end of function * fix: certain missing compute bindings * implement texture base * improve texture binding system * remove useless exception * move texture handle to texture base * fix: segfault when using disposed textures --------- Co-authored-by: Samuliak <samuliak77@gmail.com> Co-authored-by: SamoZ256 <96914946+SamoZ256@users.noreply.github.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 = 16;
|
|
}
|
|
}
|