mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
feat(const_eval): impl. asinh
This commit is contained in:
parent
e2783c7d45
commit
f8113c55b7
@ -47,6 +47,7 @@ Bottom level categories:
|
||||
- `acos`
|
||||
- `acosh`
|
||||
- `asin`
|
||||
- `asinh`
|
||||
- `cos`
|
||||
- `cosh`
|
||||
- `round`
|
||||
|
@ -828,6 +828,9 @@ impl<'a> ConstantEvaluator<'a> {
|
||||
crate::MathFunction::Asin => {
|
||||
component_wise_float!(self, span, [arg], |e| { Ok([e.asin()]) })
|
||||
}
|
||||
crate::MathFunction::Asinh => {
|
||||
component_wise_float!(self, span, [arg], |e| { Ok([e.asinh()]) })
|
||||
}
|
||||
crate::MathFunction::Pow => self.math_pow(arg, arg1.unwrap(), span),
|
||||
crate::MathFunction::Clamp => {
|
||||
component_wise_scalar!(
|
||||
|
Loading…
Reference in New Issue
Block a user