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/Translation/Rewriter.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/Translation/Rewriter.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Translation/Rewriter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/Rewriter.cs b/Ryujinx.Graphics.Shader/Translation/Rewriter.cs index d59da019..4d66597f 100644 --- a/Ryujinx.Graphics.Shader/Translation/Rewriter.cs +++ b/Ryujinx.Graphics.Shader/Translation/Rewriter.cs @@ -164,7 +164,7 @@ namespace Ryujinx.Graphics.Shader.Translation bool isBindless = (texOp.Flags & TextureFlags.Bindless) != 0; - bool isCoordNormalized = !isBindless && config.GpuAccessor.QueryTextureCoordNormalized(texOp.Handle, texOp.CbufSlot); + bool isCoordNormalized = isBindless || config.GpuAccessor.QueryTextureCoordNormalized(texOp.Handle, texOp.CbufSlot); if (!hasInvalidOffset && isCoordNormalized) { |