aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/BufferDescriptor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/BufferDescriptor.cs')
-rw-r--r--Ryujinx.Graphics.Shader/BufferDescriptor.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/BufferDescriptor.cs b/Ryujinx.Graphics.Shader/BufferDescriptor.cs
index a3af6e41..4ce8a896 100644
--- a/Ryujinx.Graphics.Shader/BufferDescriptor.cs
+++ b/Ryujinx.Graphics.Shader/BufferDescriptor.cs
@@ -2,6 +2,8 @@ namespace Ryujinx.Graphics.Shader
{
public struct BufferDescriptor
{
+ // New fields should be added to the end of the struct to keep disk shader cache compatibility.
+
public readonly int Binding;
public readonly int Slot;
public BufferUsageFlags Flags;