Initial support for shader attribute indexing (#2546)

* Initial support for shader attribute indexing

* Support output indexing too, other improvements

* Fix order

* Address feedback
This commit is contained in:
gdkchan
2021-08-26 20:44:47 -03:00
committed by GitHub
parent ec3e848d79
commit ee1038e542
22 changed files with 298 additions and 86 deletions

View File

@ -0,0 +1,10 @@
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));
}
}