aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/BufferDescriptor.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-11-08 08:10:00 -0300
committerGitHub <noreply@github.com>2020-11-08 12:10:00 +0100
commit8d168574eb04ae1e7026ac2b058e3b184f068fae (patch)
tree6e0f79447276619af980055419874f5e99595b58 /Ryujinx.Graphics.Shader/BufferDescriptor.cs
parent5561a3b95e9c980e3354366570e7896a213b95ae (diff)
Use explicit buffer and texture bindings on shaders (#1666)
* Use explicit buffer and texture bindings on shaders * More XML docs and other nits
Diffstat (limited to 'Ryujinx.Graphics.Shader/BufferDescriptor.cs')
-rw-r--r--Ryujinx.Graphics.Shader/BufferDescriptor.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Shader/BufferDescriptor.cs b/Ryujinx.Graphics.Shader/BufferDescriptor.cs
index 4cc99998..99855518 100644
--- a/Ryujinx.Graphics.Shader/BufferDescriptor.cs
+++ b/Ryujinx.Graphics.Shader/BufferDescriptor.cs
@@ -2,13 +2,12 @@ namespace Ryujinx.Graphics.Shader
{
public struct BufferDescriptor
{
- public string Name { get; }
-
+ public int Binding { get; }
public int Slot { get; }
- public BufferDescriptor(string name, int slot)
+ public BufferDescriptor(int binding, int slot)
{
- Name = name;
+ Binding = binding;
Slot = slot;
}
}