Fix FragmentOutputColor Type

This commit is contained in:
Isaac Marovitz 2024-05-27 22:36:59 -04:00 committed by Isaac Marovitz
parent 43460186a8
commit 88dd2984be

View file

@ -219,6 +219,7 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl
{ {
IoVariable.Position => "float4", IoVariable.Position => "float4",
IoVariable.PointSize => "float", IoVariable.PointSize => "float",
IoVariable.FragmentOutputColor => GetVarTypeName(context, context.Definitions.GetFragmentOutputColorType(ioDefinition.Location)),
IoVariable.FragmentOutputDepth => "float", IoVariable.FragmentOutputDepth => "float",
_ => GetVarTypeName(context, context.Definitions.GetUserDefinedType(ioDefinition.Location, isOutput: true)) _ => GetVarTypeName(context, context.Definitions.GetUserDefinedType(ioDefinition.Location, isOutput: true))
}; };