Fix buffer access syntax

This commit is contained in:
Isaac Marovitz
2024-03-20 14:35:47 -04:00
committed by Evan Husted
parent e353e3d3fc
commit 64e9dcee3d
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;