mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-08 04:55:19 +00:00
[wgsl] Rename smoothStep to smoothstep (#1800)
This commit is contained in:
parent
cfcf625019
commit
6bbba0d0d5
@ -10,6 +10,7 @@
|
||||
- renames:
|
||||
- `findLsb` -> `firstTrailingBit`
|
||||
- `findMsb` -> `firstLeadingBit`
|
||||
- `smoothStep` -> `smoothstep`
|
||||
|
||||
## v0.8 (2021-12-18)
|
||||
- development release for wgpu-0.12
|
||||
|
@ -1517,7 +1517,7 @@ impl<W: Write> Writer<W> {
|
||||
Mf::Fma => Function::Regular("fma"),
|
||||
Mf::Mix => Function::Regular("mix"),
|
||||
Mf::Step => Function::Regular("step"),
|
||||
Mf::SmoothStep => Function::Regular("smoothStep"),
|
||||
Mf::SmoothStep => Function::Regular("smoothstep"),
|
||||
Mf::Sqrt => Function::Regular("sqrt"),
|
||||
Mf::InverseSqrt => Function::Regular("inverseSqrt"),
|
||||
Mf::Transpose => Function::Regular("transpose"),
|
||||
|
@ -191,7 +191,7 @@ pub fn map_standard_fun(word: &str) -> Option<crate::MathFunction> {
|
||||
"fma" => Mf::Fma,
|
||||
"mix" => Mf::Mix,
|
||||
"step" => Mf::Step,
|
||||
"smoothStep" => Mf::SmoothStep,
|
||||
"smoothstep" => Mf::SmoothStep,
|
||||
"sqrt" => Mf::Sqrt,
|
||||
"inverseSqrt" => Mf::InverseSqrt,
|
||||
"transpose" => Mf::Transpose,
|
||||
|
Loading…
Reference in New Issue
Block a user