aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Shader/TextureDescriptor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/TextureDescriptor.cs')
-rw-r--r--src/Ryujinx.Graphics.Shader/TextureDescriptor.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Shader/TextureDescriptor.cs b/src/Ryujinx.Graphics.Shader/TextureDescriptor.cs
index 1130b63b..38834da7 100644
--- a/src/Ryujinx.Graphics.Shader/TextureDescriptor.cs
+++ b/src/Ryujinx.Graphics.Shader/TextureDescriptor.cs
@@ -11,16 +11,25 @@ namespace Ryujinx.Graphics.Shader
public readonly int CbufSlot;
public readonly int HandleIndex;
+ public readonly int ArrayLength;
public readonly TextureUsageFlags Flags;
- public TextureDescriptor(int binding, SamplerType type, TextureFormat format, int cbufSlot, int handleIndex, TextureUsageFlags flags)
+ public TextureDescriptor(
+ int binding,
+ SamplerType type,
+ TextureFormat format,
+ int cbufSlot,
+ int handleIndex,
+ int arrayLength,
+ TextureUsageFlags flags)
{
Binding = binding;
Type = type;
Format = format;
CbufSlot = cbufSlot;
HandleIndex = handleIndex;
+ ArrayLength = arrayLength;
Flags = flags;
}
}