BPMemory: Make ZTexOp enum an enum class

Avoids placing generic names in the surrounding namespace.
This commit is contained in:
Lioncash
2021-09-01 18:13:56 -04:00
parent 32c7524f4d
commit f36fd5fa39
3 changed files with 12 additions and 10 deletions

View File

@ -12,8 +12,9 @@ using float4 = std::array<float, 4>;
using uint4 = std::array<u32, 4>;
using int4 = std::array<s32, 4>;
enum class SrcBlendFactor : u32;
enum class DstBlendFactor : u32;
enum class SrcBlendFactor : u32;
enum class ZTexOp : u32;
struct PixelShaderConstants
{
@ -37,7 +38,7 @@ struct PixelShaderConstants
u32 fogParam3; // .x
u32 fogRangeBase; // .y
u32 dstalpha; // .z
u32 ztex_op; // .w
ZTexOp ztex_op; // .w
u32 late_ztest; // .x (bool)
u32 rgba6_format; // .y (bool)
u32 dither; // .z (bool)