Mark more enums with [Flags]

This commit is contained in:
Isaac Marovitz 2022-12-09 19:23:41 -05:00
parent f4fd186763
commit 83db4973d9
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
4 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,8 @@
namespace Ryujinx.Graphics.Nvdec.Vp9.Types using System;
namespace Ryujinx.Graphics.Nvdec.Vp9.Types
{ {
[Flags]
internal enum PartitionType internal enum PartitionType
{ {
PartitionNone, PartitionNone,

View file

@ -228,6 +228,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
Rz = 3, Rz = 3,
} }
[Flags]
enum FComp enum FComp
{ {
F = 0, F = 0,
@ -279,6 +280,7 @@ namespace Ryujinx.Graphics.Shader.Decoders
S64 = 7, S64 = 7,
} }
[Flags]
enum ISrcDstFmt enum ISrcDstFmt
{ {
U8 = 0, U8 = 0,

View file

@ -1,5 +1,8 @@
using System;
namespace Ryujinx.HLE.HOS.Services.Spl namespace Ryujinx.HLE.HOS.Services.Spl
{ {
[Flags]
enum ResultCode enum ResultCode
{ {
ModuleId = 26, ModuleId = 26,

View file

@ -1,5 +1,8 @@
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger using System;
namespace Ryujinx.HLE.HOS.Services.SurfaceFlinger
{ {
[Flags]
enum Status : int enum Status : int
{ {
Success = 0, Success = 0,