Merge pull request #458 from Subv/fmnmx

Shaders: Implemented the FMNMX shader instruction.
This commit is contained in:
bunnei 2018-05-20 23:44:07 -04:00 committed by GitHub
commit 898f0fa029
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 6 deletions

View file

@ -193,6 +193,11 @@ union Instruction {
BitField<50, 1, u64> abs_d;
BitField<56, 1, u64> negate_imm;
union {
BitField<39, 3, u64> pred;
BitField<42, 1, u64> negate_pred;
} fmnmx;
float GetImm20_19() const {
float result{};
u32 imm{static_cast<u32>(imm20_19)};