diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2021-03-10 21:14:58 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2021-05-07 15:42:16 -0700 |
| commit | 252ef6bb3432a4fef363acf41c2d36b0899f8ec9 (patch) | |
| tree | 5d9525745612ff76f8e8f7da3d0b145a1377de14 /Source | |
| parent | b6149623aae83ff278b7c3de9afd8d2e9bda94a3 (diff) | |
Use bool bitfields in VAT
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/VideoCommon/CPMemory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/CPMemory.h b/Source/Core/VideoCommon/CPMemory.h index 5c50d30a85..931cb587e5 100644 --- a/Source/Core/VideoCommon/CPMemory.h +++ b/Source/Core/VideoCommon/CPMemory.h @@ -319,8 +319,8 @@ union UVAT_group0 BitField<22, 3, ComponentFormat> Tex0CoordFormat; BitField<25, 5, u32> Tex0Frac; // 30:31 - BitField<30, 1, u32> ByteDequant; - BitField<31, 1, u32> NormalIndex3; + BitField<30, 1, bool, u32> ByteDequant; + BitField<31, 1, bool, u32> NormalIndex3; }; template <> struct fmt::formatter<UVAT_group0> @@ -376,7 +376,7 @@ union UVAT_group1 BitField<27, 1, TexComponentCount> Tex4CoordElements; BitField<28, 3, ComponentFormat> Tex4CoordFormat; // 31 - BitField<31, 1, u32> VCacheEnhance; + BitField<31, 1, bool, u32> VCacheEnhance; }; template <> struct fmt::formatter<UVAT_group1> |
