mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-27 11:03:04 +00:00
Fix FragmentOutputColor Type
This commit is contained in:
parent
43460186a8
commit
88dd2984be
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue