Fix buffer access syntax

This commit is contained in:
Isaac Marovitz 2024-03-20 14:35:47 -04:00 committed by Isaac Marovitz
parent f23ef282ce
commit 4532fb872a

View file

@ -44,7 +44,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
}
StructureField field = buffer.Type.Fields[fieldIndex.Value];
varName = $"{buffer.Name}.{field.Name}";
varName = buffer.Name;
varType = field.Type;
break;