diff options
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/AttributeInfo.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Translation/AttributeInfo.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/AttributeInfo.cs b/Ryujinx.Graphics.Shader/Translation/AttributeInfo.cs index 9af5bacf..2a97ee52 100644 --- a/Ryujinx.Graphics.Shader/Translation/AttributeInfo.cs +++ b/Ryujinx.Graphics.Shader/Translation/AttributeInfo.cs @@ -93,12 +93,7 @@ namespace Ryujinx.Graphics.Shader.Translation if (config.Stage == ShaderStage.Vertex && !isOutAttr) { - elemType = config.GpuAccessor.QueryAttributeType(location) switch - { - AttributeType.Sint => AggregateType.S32, - AttributeType.Uint => AggregateType.U32, - _ => AggregateType.FP32 - }; + elemType = config.GpuAccessor.QueryAttributeType(location).ToAggregateType(); } else { |