mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Use bool bitfields in VAT
This commit is contained in:
@ -319,8 +319,8 @@ union UVAT_group0
|
|||||||
BitField<22, 3, ComponentFormat> Tex0CoordFormat;
|
BitField<22, 3, ComponentFormat> Tex0CoordFormat;
|
||||||
BitField<25, 5, u32> Tex0Frac;
|
BitField<25, 5, u32> Tex0Frac;
|
||||||
// 30:31
|
// 30:31
|
||||||
BitField<30, 1, u32> ByteDequant;
|
BitField<30, 1, bool, u32> ByteDequant;
|
||||||
BitField<31, 1, u32> NormalIndex3;
|
BitField<31, 1, bool, u32> NormalIndex3;
|
||||||
};
|
};
|
||||||
template <>
|
template <>
|
||||||
struct fmt::formatter<UVAT_group0>
|
struct fmt::formatter<UVAT_group0>
|
||||||
@ -376,7 +376,7 @@ union UVAT_group1
|
|||||||
BitField<27, 1, TexComponentCount> Tex4CoordElements;
|
BitField<27, 1, TexComponentCount> Tex4CoordElements;
|
||||||
BitField<28, 3, ComponentFormat> Tex4CoordFormat;
|
BitField<28, 3, ComponentFormat> Tex4CoordFormat;
|
||||||
// 31
|
// 31
|
||||||
BitField<31, 1, u32> VCacheEnhance;
|
BitField<31, 1, bool, u32> VCacheEnhance;
|
||||||
};
|
};
|
||||||
template <>
|
template <>
|
||||||
struct fmt::formatter<UVAT_group1>
|
struct fmt::formatter<UVAT_group1>
|
||||||
|
Reference in New Issue
Block a user