Nvm it should be in.position

This commit is contained in:
Isaac Marovitz 2024-05-22 15:04:44 -04:00
parent 290b8657d2
commit 3044457dca
No known key found for this signature in database
GPG Key ID: 97250B2B09A132E1
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
// gl_VertexIndex does not have a direct equivalent in MSL
IoVariable.VertexIndex => ("vertex_index", AggregateType.U32),
IoVariable.ViewportIndex => ("viewport_array_index", AggregateType.S32),
IoVariable.FragmentCoord => ("position", AggregateType.Vector4 | AggregateType.FP32),
IoVariable.FragmentCoord => ("in.position", AggregateType.Vector4 | AggregateType.FP32),
_ => (null, AggregateType.Invalid),
};