diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2023-05-26 15:19:37 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-26 15:19:37 -0300 |
| commit | 3b375525fbaded422fb2f9a9984a5770a3779fcb (patch) | |
| tree | 432cd22c8f445ece592f8a8fbeb4fdef01c95390 /src/Ryujinx.Graphics.Shader/IntermediateRepresentation | |
| parent | e6658c133ca8bef4a6612d6feabfc6180f0c8318 (diff) | |
Force reciprocal operation with value biased by constant to be precise on macOS (#5110)
* Force operations to be precise in some cases on SPIR-V
* Make it a bit more strict, add comments
* Shader cache version bump
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/IntermediateRepresentation')
| -rw-r--r-- | src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operation.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operation.cs b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operation.cs index 99179f15..d502a9b6 100644 --- a/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operation.cs +++ b/src/Ryujinx.Graphics.Shader/IntermediateRepresentation/Operation.cs @@ -8,6 +8,8 @@ namespace Ryujinx.Graphics.Shader.IntermediateRepresentation public Instruction Inst { get; private set; } public StorageKind StorageKind { get; } + public bool ForcePrecise { get; set; } + private Operand[] _dests; public Operand Dest |
