mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-21 09:22:01 +00:00
f09bba82b9
* Implement vertex and geometry shader conversion to compute * Call InitializeReservedCounts for compute too * PR feedback * Set clip distance mask for geometry and tessellation shaders too * Transform feedback emulation only for vertex
14 lines
457 B
C#
14 lines
457 B
C#
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));
|
|
|
|
public const int NvnBaseVertexByteOffset = 0x640;
|
|
public const int NvnBaseInstanceByteOffset = 0x644;
|
|
public const int NvnDrawIndexByteOffset = 0x648;
|
|
}
|
|
}
|