2021-08-26 19:44:47 -04:00
|
|
|
namespace Ryujinx.Graphics.Shader
|
|
|
|
{
|
|
|
|
static class Constants
|
|
|
|
{
|
|
|
|
public const int ConstantBufferSize = 0x10000; // In bytes
|
|
|
|
|
|
|
|
public const int MaxAttributes = 16;
|
|
|
|
public const int AllAttributesMask = (int)(uint.MaxValue >> (32 - MaxAttributes));
|
2022-11-16 12:53:04 -05:00
|
|
|
|
|
|
|
public const int NvnBaseVertexByteOffset = 0x640;
|
|
|
|
public const int NvnBaseInstanceByteOffset = 0x644;
|
|
|
|
public const int NvnDrawIndexByteOffset = 0x648;
|
2022-11-17 12:47:41 -05:00
|
|
|
|
|
|
|
public const int StorageAlignment = 16;
|
2021-08-26 19:44:47 -04:00
|
|
|
}
|
|
|
|
}
|