mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-30 03:20:46 -07:00
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
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user