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:
parent
24a759de4a
commit
2e95ba2e9c
2 changed files with 38 additions and 16 deletions
|
@ -282,6 +282,10 @@ union Instruction {
|
|||
}
|
||||
} alu;
|
||||
|
||||
union {
|
||||
BitField<48, 1, u64> negate_b;
|
||||
} fmul;
|
||||
|
||||
union {
|
||||
BitField<48, 1, u64> is_signed;
|
||||
} shift;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue