Pica/VertexShader: Add support for MOVA, CMP and IFC.

This commit is contained in:
Tony Wasserka 2014-12-12 22:50:09 +01:00
parent cb1804e0ab
commit 67618a2c55
2 changed files with 138 additions and 7 deletions

View file

@ -771,6 +771,14 @@ struct float24 {
return ToFloat32() <= flt.ToFloat32();
}
bool operator == (const float24& flt) const {
return ToFloat32() == flt.ToFloat32();
}
bool operator != (const float24& flt) const {
return ToFloat32() != flt.ToFloat32();
}
private:
// Stored as a regular float, merely for convenience
// TODO: Perform proper arithmetic on this!