diff options
author | Marco Carvalho <marcolucio27@gmail.com> | 2023-06-09 14:44:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 19:44:22 +0200 |
commit | 0e95a8271ac96b2c54907858140e2511a25a2b10 (patch) | |
tree | 5b3381691cce06a03751656efed258c5163d8de3 /src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs | |
parent | 76b474e97b553f3edbb1f3c54e50170b97203171 (diff) |
Non-flags enums should not be used in bitwise operations (#5214)1.1.881
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs b/src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs index 13676293..c7c506ec 100644 --- a/src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs +++ b/src/Ryujinx.Graphics.Shader/Decoders/InstDecoders.cs @@ -1,3 +1,5 @@ +using System; + namespace Ryujinx.Graphics.Shader.Decoders { enum AlSize @@ -711,6 +713,7 @@ namespace Ryujinx.Graphics.Shader.Decoders TexSamplerBorderColor = 22, } + [Flags] enum VectorSelect { U8B0 = 0, |