diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-07-23 11:53:14 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-23 11:53:14 -0300 |
commit | 7f8a3541eb4d4d64390c8dd5d3849ea4606c59fb (patch) | |
tree | f113e7cdba1439dab516bded1b2923d34b6cc185 /Ryujinx.Graphics.Shader/Decoders/Block.cs | |
parent | b34de74f81ef73a78d43d169b9f1ce7f175035b5 (diff) |
Fix decoding of block after shader BRA.CC instructions without predicate (#3472)1.1.184
* Fix decoding of block after BRA.CC instructions without predicate
* Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Decoders/Block.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Decoders/Block.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Decoders/Block.cs b/Ryujinx.Graphics.Shader/Decoders/Block.cs index 0b55c59e..ddd81cc5 100644 --- a/Ryujinx.Graphics.Shader/Decoders/Block.cs +++ b/Ryujinx.Graphics.Shader/Decoders/Block.cs @@ -92,7 +92,11 @@ namespace Ryujinx.Graphics.Shader.Decoders pushOpInfo.Consumers.Add(rightBlock, local); } - rightBlock.SyncTargets.Union(SyncTargets); + foreach ((ulong key, SyncTarget value) in SyncTargets) + { + rightBlock.SyncTargets.Add(key, value); + } + SyncTargets.Clear(); // Move push ops. |