Nvm it should be in.position

This commit is contained in:
Isaac Marovitz 2024-05-22 15:04:44 -04:00 committed by Isaac Marovitz
parent 6f44dcc416
commit 1aa2b793eb

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),
};