Fix IoMap variable names

Output struct

Lazy Vertex IO

Output fixes

Fix output struct definition

MSL Binding Model description

Might need tweaks/adjustments

Cleanup

Typo + Format
This commit is contained in:
Isaac Marovitz 2023-10-09 11:33:28 -04:00 committed by Isaac Marovitz
parent d5758cb310
commit 98e2ab5a49
4 changed files with 90 additions and 21 deletions

View file

@ -70,6 +70,10 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
{
return $"{op} {GetSourceExpr(context, operation.GetSource(0), context.CurrentFunction.ReturnType)}";
}
else if (inst == Instruction.Return && context.Definitions.Stage == ShaderStage.Vertex)
{
return $"{op} out";
}
int arity = (int)(info.Type & InstType.ArityMask);