From b9d83cc97ee1cb8c60d9b01c162bab742567fe6e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sun, 14 Nov 2021 21:37:07 -0300 Subject: Fix shader integer from/to double conversion (#2831) --- .../IntermediateRepresentation/Instruction.cs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation') diff --git a/Ryujinx.Graphics.Shader/IntermediateRepresentation/Instruction.cs b/Ryujinx.Graphics.Shader/IntermediateRepresentation/Instruction.cs index 791c8f11..c3fb2882 100644 --- a/Ryujinx.Graphics.Shader/IntermediateRepresentation/Instruction.cs +++ b/Ryujinx.Graphics.Shader/IntermediateRepresentation/Instruction.cs @@ -49,10 +49,14 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation ConditionalSelect, ConvertFP32ToFP64, ConvertFP64ToFP32, - ConvertFPToS32, - ConvertFPToU32, - ConvertS32ToFP, - ConvertU32ToFP, + ConvertFP32ToS32, + ConvertFP32ToU32, + ConvertFP64ToS32, + ConvertFP64ToU32, + ConvertS32ToFP32, + ConvertS32ToFP64, + ConvertU32ToFP32, + ConvertU32ToFP64, Copy, Cosine, Ddx, -- cgit v1.2.3