mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-04 00:52:25 -07:00
offset storage buffer bindings by 15
This commit is contained in:
@@ -600,11 +600,12 @@ namespace Ryujinx.Graphics.Metal
|
||||
{
|
||||
if (buffer.Range.Size != 0)
|
||||
{
|
||||
// Offset the binding by 15
|
||||
_storageBuffers.Add(new BufferInfo
|
||||
{
|
||||
Handle = buffer.Range.Handle.ToIntPtr(),
|
||||
Offset = buffer.Range.Offset,
|
||||
Index = buffer.Binding
|
||||
Index = buffer.Binding + 15
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user