diff options
author | gdkchan <gab.dark.100@gmail.com> | 2021-06-23 20:51:41 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-24 01:51:41 +0200 |
commit | a10b2c5ff26886e9ffc6f19e3f0fe9505a503b2f (patch) | |
tree | 006d013c300fb56c94c5563c2c1409a189f794b2 /Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs | |
parent | 12a7a2ead812d46deb9d978b6758731157be1cbc (diff) |
Initial support for GPU channels (#2372)
* Ground work for separate GPU channels
* Rename TextureManager to TextureCache
* Decouple texture bindings management from the texture cache
* Rename BufferManager to BufferCache
* Decouple buffer bindings management from the buffer cache
* More comments and proper disposal
* PR feedback
* Force host state update on channel switch
* Typo
* PR feedback
* Missing using
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs b/Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs index 16fb31d6..33533e8b 100644 --- a/Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs +++ b/Ryujinx.Graphics.Gpu/Engine/MethodUniformBufferBind.cs @@ -74,11 +74,11 @@ namespace Ryujinx.Graphics.Gpu.Engine ulong address = uniformBuffer.Address.Pack(); - BufferManager.SetGraphicsUniformBuffer((int)type, index, address, (uint)uniformBuffer.Size); + state.Channel.BufferManager.SetGraphicsUniformBuffer((int)type, index, address, (uint)uniformBuffer.Size); } else { - BufferManager.SetGraphicsUniformBuffer((int)type, index, 0, 0); + state.Channel.BufferManager.SetGraphicsUniformBuffer((int)type, index, 0, 0); } } } |