diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2024-06-16 14:46:27 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-16 14:46:27 -0300 |
| commit | 3193ef10833bc0d27e2701c7759ab02674d672d3 (patch) | |
| tree | 8aae569f4943373450d181908f858cf03c0a0b42 /src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs | |
| parent | 5a878ae9afe73d12bd344c139ee1b485335af3ff (diff) | |
Extend bindless elimination to catch a few more specific cases (#6921)
* Catch more cases on bindless elimination
* Match blocks with the same comparison condition
* Shader cache version bump
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs b/src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs index 630162ad..1d865125 100644 --- a/src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs +++ b/src/Ryujinx.Graphics.Shader/Instructions/InstEmitPredicate.cs @@ -24,7 +24,7 @@ namespace Ryujinx.Graphics.Shader.Instructions if (op.BVal) { - context.Copy(dest, context.ConditionalSelect(res, ConstF(1), Const(0))); + context.Copy(dest, context.ConditionalSelect(res, ConstF(1), ConstF(0))); } else { |
