diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-10-27 17:51:33 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 3bcc395253e020df40763d36ba9401b126b17173 (patch) | |
| tree | c172daab458b1447d7aa69832fd10068bc9ca1b6 /Ryujinx.Graphics.Shader/StructuredIr | |
| parent | d3fcab85112708707eacc4c71a8362b9c178218d (diff) | |
Add shader support for the round mode on the F2F instruction, support mipmaps on ASTC compressed textures
Diffstat (limited to 'Ryujinx.Graphics.Shader/StructuredIr')
| -rw-r--r-- | Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs b/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs index d6ce76db..675a9678 100644 --- a/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs +++ b/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs @@ -83,6 +83,7 @@ namespace Ryujinx.Graphics.Shader.StructuredIr Add(Instruction.Negate, VariableType.Scalar, VariableType.Scalar); Add(Instruction.PackHalf2x16, VariableType.U32, VariableType.F32, VariableType.F32); Add(Instruction.ReciprocalSquareRoot, VariableType.Scalar, VariableType.Scalar); + Add(Instruction.Round, VariableType.F32, VariableType.F32); Add(Instruction.Sine, VariableType.Scalar, VariableType.Scalar); Add(Instruction.SquareRoot, VariableType.Scalar, VariableType.Scalar); Add(Instruction.StoreGlobal, VariableType.None, VariableType.S32, VariableType.S32, VariableType.F32); |
