aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Gal/ShaderDeclInfo.cs')
-rw-r--r--Ryujinx.Graphics/Gal/ShaderDeclInfo.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs b/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs
index d400850c..e5ecee95 100644
--- a/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs
+++ b/Ryujinx.Graphics/Gal/ShaderDeclInfo.cs
@@ -23,5 +23,13 @@ namespace Ryujinx.Graphics.Gal
Size = NewSize;
}
}
+
+ internal void SetCbufOffs(int Offs)
+ {
+ if (Index < Offs)
+ {
+ Index = Offs;
+ }
+ }
}
} \ No newline at end of file