aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs')
-rw-r--r--Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs b/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs
index dd6ff8e9..0ba4667e 100644
--- a/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs
+++ b/Ryujinx.Graphics.Shader/Instructions/InstEmitHelper.cs
@@ -45,12 +45,12 @@ namespace Ryujinx.Graphics.Shader.Instructions
if (isFP64)
{
return context.PackDouble2x32(
- context.Config.CreateCbuf(cbufSlot, cbufOffset),
- context.Config.CreateCbuf(cbufSlot, cbufOffset + 1));
+ Cbuf(cbufSlot, cbufOffset),
+ Cbuf(cbufSlot, cbufOffset + 1));
}
else
{
- return context.Config.CreateCbuf(cbufSlot, cbufOffset);
+ return Cbuf(cbufSlot, cbufOffset);
}
}