mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-06 10:18:30 +02:00
Non-flags enums should not be used in bitwise operations (#5214)
This commit is contained in:
@@ -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,
|
||||
|
@@ -1,5 +1,8 @@
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Graphics.Shader.Decoders
|
||||
{
|
||||
[Flags]
|
||||
enum InstProps : ushort
|
||||
{
|
||||
None = 0,
|
||||
|
@@ -1,5 +1,8 @@
|
||||
namespace Ryujinx.Graphics.Shader.Translation
|
||||
using System;
|
||||
|
||||
namespace Ryujinx.Graphics.Shader.Translation
|
||||
{
|
||||
[Flags]
|
||||
enum AggregateType
|
||||
{
|
||||
Invalid,
|
||||
|
Reference in New Issue
Block a user