mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-19 04:12:02 +00:00
format
This commit is contained in:
parent
bc3fd22f05
commit
e99f9e2af0
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
|
||||||
{
|
{
|
||||||
var varType = storageBuffers.Type.Fields[0].Type & ~AggregateType.Array;
|
var varType = storageBuffers.Type.Fields[0].Type & ~AggregateType.Array;
|
||||||
// Offset the binding by 15 to avoid clashing with the constant buffers
|
// Offset the binding by 15 to avoid clashing with the constant buffers
|
||||||
args = args.Append($"device {Declarations.GetVarTypeName(context, varType)} *{storageBuffers.Name} [[buffer({15 + storageBuffers.Binding})]]").ToArray();
|
args = args.Append($"device {Declarations.GetVarTypeName(context, varType)} *{storageBuffers.Name} [[buffer({storageBuffers.Binding + 15})]]").ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (var texture in context.Properties.Textures.Values)
|
foreach (var texture in context.Properties.Textures.Values)
|
||||||
|
|
Loading…
Reference in a new issue