Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions.

We should definitely audit our shader generator for more errors like this.
This commit is contained in:
Subv
2018-08-16 09:05:16 -05:00
parent 24a759de4a
commit 2e95ba2e9c
2 changed files with 38 additions and 16 deletions

View File

@ -282,6 +282,10 @@ union Instruction {
}
} alu;
union {
BitField<48, 1, u64> negate_b;
} fmul;
union {
BitField<48, 1, u64> is_signed;
} shift;