Add FogParam0::FloatValue and FogParam3::FloatValue

This value will be used in the register description; so expose it in a way that can be re-used instead of calculating it in 2 places later.
This commit is contained in:
Pokechu22
2021-02-11 22:38:07 -08:00
parent f2bea67709
commit db8ced7e4e
2 changed files with 18 additions and 10 deletions

View File

@ -661,6 +661,7 @@ union FogParam0
BitField<19, 1, u32> sign;
u32 hex;
float FloatValue() const;
};
union FogParam3
@ -673,6 +674,7 @@ union FogParam3
// backward exp, 7 - backward exp2
u32 hex;
float FloatValue() const;
};
union FogRangeKElement