diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-11-14 21:37:07 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-14 21:37:07 -0300 |
| commit | b9d83cc97ee1cb8c60d9b01c162bab742567fe6e (patch) | |
| tree | 7cfe5cffd688dd8ca5a06e91c85e5e4cfbcce9c6 /Ryujinx.Graphics.Shader/IntermediateRepresentation | |
| parent | 788aec511ffe64c9a22024d1b88334ec8e3b5ad6 (diff) | |
Fix shader integer from/to double conversion (#2831)
Diffstat (limited to 'Ryujinx.Graphics.Shader/IntermediateRepresentation')
| -rw-r--r-- | Ryujinx.Graphics.Shader/IntermediateRepresentation/Instruction.cs | 12 |
1 files changed, 8 insertions, 4 deletions
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, |
