Fix buffer access syntax

This commit is contained in:
Isaac Marovitz 2024-03-20 14:35:47 -04:00 committed by Isaac Marovitz
parent 4d063f80b8
commit ebc53d7961
2 changed files with 756 additions and 1 deletions

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;