diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2019-12-29 14:41:50 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 654e617fe78b0f5cc86d0bcf0625301abff168f5 (patch) | |
| tree | 01f2eba89039698bec583a3e29c4c50d0e20b8d1 /Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs | |
| parent | af8498d6790ba83f1cf87eccf5f272f2ccbeb169 (diff) | |
Some code cleanup
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs index 0c09661f..0ea7aec2 100644 --- a/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs +++ b/Ryujinx.Graphics.Gpu/Image/TextureBindingsManager.cs @@ -178,7 +178,7 @@ namespace Ryujinx.Graphics.Gpu.Image { _textureState[stageIndex][index].Texture = hostTexture; - _context.Renderer.Pipeline.BindTexture(index, stage, hostTexture); + _context.Renderer.Pipeline.SetTexture(index, stage, hostTexture); } Sampler sampler = _samplerPool.Get(samplerId); @@ -189,7 +189,7 @@ namespace Ryujinx.Graphics.Gpu.Image { _textureState[stageIndex][index].Sampler = hostSampler; - _context.Renderer.Pipeline.BindSampler(index, stage, hostSampler); + _context.Renderer.Pipeline.SetSampler(index, stage, hostSampler); } } } @@ -217,7 +217,7 @@ namespace Ryujinx.Graphics.Gpu.Image { _imageState[stageIndex][index].Texture = hostTexture; - _context.Renderer.Pipeline.BindImage(index, stage, hostTexture); + _context.Renderer.Pipeline.SetImage(index, stage, hostTexture); } } } |
