Skip to content

Commit

Permalink
fixup! feat(const_eval): impl. fma
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichDonGubler committed Jan 26, 2024
1 parent 238aad9 commit 038b0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion naga/src/proc/constant_evaluator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ impl<'a> ConstantEvaluator<'a> {
self,
span,
[arg, arg1.unwrap(), arg2.unwrap()],
|e1, e2, e3| { Ok([e1 * e2 + e3]) }
|e1, e2, e3| { Ok([e1.mul_add(e2, e3)]) }
)
}
crate::MathFunction::InverseSqrt => {
Expand Down

0 comments on commit 038b0d5

Please sign in to comment.