Non-flags enums should not be used in bitwise operations (#5214)

This commit is contained in:
Marco Carvalho
2023-06-09 19:44:22 +02:00
committed by GitHub
parent 76b474e97b
commit 0e95a8271a
5 changed files with 16 additions and 1 deletions
@@ -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,