|
|
@@ -485,6 +485,16 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Glsl
|
|
|
|
|
|
AttributeType type = context.Config.GpuAccessor.QueryAttributeType(location);
|
|
|
|
|
|
+ return type.ToAggregateType();
|
|
|
+ }
|
|
|
+ else if (context.Config.Stage == ShaderStage.Fragment && isAsgDest &&
|
|
|
+ operand.Value >= AttributeConsts.FragmentOutputColorBase &&
|
|
|
+ operand.Value < AttributeConsts.FragmentOutputColorEnd)
|
|
|
+ {
|
|
|
+ int location = (operand.Value - AttributeConsts.FragmentOutputColorBase) / 16;
|
|
|
+
|
|
|
+ AttributeType type = context.Config.GpuAccessor.QueryFragmentOutputType(location);
|
|
|
+
|
|
|
return type.ToAggregateType();
|
|
|
}
|
|
|
}
|