mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-03 18:32:26 -07:00
Nvm it should be in.position
This commit is contained in:
committed by
Isaac Marovitz
parent
6f44dcc416
commit
1aa2b793eb
@@ -34,7 +34,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|||||||
// gl_VertexIndex does not have a direct equivalent in MSL
|
// gl_VertexIndex does not have a direct equivalent in MSL
|
||||||
IoVariable.VertexIndex => ("vertex_index", AggregateType.U32),
|
IoVariable.VertexIndex => ("vertex_index", AggregateType.U32),
|
||||||
IoVariable.ViewportIndex => ("viewport_array_index", AggregateType.S32),
|
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),
|
_ => (null, AggregateType.Invalid),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user