diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs b/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs index f5373bd6..75ff037e 100644 --- a/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs +++ b/Ryujinx.Graphics.Gpu/Shader/GpuAccessor.cs @@ -129,8 +129,8 @@ namespace Ryujinx.Graphics.Gpu.Shader public uint QueryConstantBufferUse() { return _compute - ? _context.Methods.BufferManager.GetComputeUniformBufferUseMask() - : _context.Methods.BufferManager.GetGraphicsUniformBufferUseMask(_stageIndex); + ? _state.Channel.BufferManager.GetComputeUniformBufferUseMask() + : _state.Channel.BufferManager.GetGraphicsUniformBufferUseMask(_stageIndex); } /// <summary> @@ -190,11 +190,11 @@ namespace Ryujinx.Graphics.Gpu.Shader { if (_compute) { - return _context.Methods.TextureManager.GetComputeTextureDescriptor(_state, handle, cbufSlot); + return _state.Channel.TextureManager.GetComputeTextureDescriptor(_state, handle, cbufSlot); } else { - return _context.Methods.TextureManager.GetGraphicsTextureDescriptor(_state, _stageIndex, handle, cbufSlot); + return _state.Channel.TextureManager.GetGraphicsTextureDescriptor(_state, _stageIndex, handle, cbufSlot); } } |
