mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-10 20:27:51 +02:00
Use explicit buffer and texture bindings on shaders (#1666)
* Use explicit buffer and texture bindings on shaders * More XML docs and other nits
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user