diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-03-29 23:11:24 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-30 13:11:24 +1100 |
| commit | 9948a7be53a9846b9de493653aa76819ff1b9bd3 (patch) | |
| tree | e5a60c309ac22d3077e6d80c67e03bb4920c0b42 /Ryujinx.Graphics.GAL | |
| parent | 8f21db810d0e8dc5577780dee3001117084768d4 (diff) | |
Support constant attributes (with a value of zero) (#1066)
* Support constant attributes (with a value of zero)
* Remove extra line
Diffstat (limited to 'Ryujinx.Graphics.GAL')
| -rw-r--r-- | Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs b/Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs index 34daff57..1547658e 100644 --- a/Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs +++ b/Ryujinx.Graphics.GAL/VertexAttribDescriptor.cs @@ -5,12 +5,15 @@ namespace Ryujinx.Graphics.GAL public int BufferIndex { get; } public int Offset { get; } + public bool IsZero { get; } + public Format Format { get; } - public VertexAttribDescriptor(int bufferIndex, int offset, Format format) + public VertexAttribDescriptor(int bufferIndex, int offset, bool isZero, Format format) { BufferIndex = bufferIndex; Offset = offset; + IsZero = isZero; Format = format; } } |
