mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-25 08:51:05 +01:00
[wgsl] remove outerProduct (#2535)
This commit is contained in:
1 parent
6668d0694c
commit
f37db5affc
4 files changed
+13
-18
No files matched your search
@@ -1529,7 +1529,6 @@ impl<W: Write> Writer<W> {
|
||||
Mf::Pow => Function::Regular("pow"),
|
||||
// geometry
|
||||
Mf::Dot => Function::Regular("dot"),
|
||||
Mf::Outer => Function::Regular("outerProduct"),
|
||||
Mf::Cross => Function::Regular("cross"),
|
||||
Mf::Distance => Function::Regular("distance"),
|
||||
Mf::Length => Function::Regular("length"),
|
||||
@@ -1568,7 +1567,7 @@ impl<W: Write> Writer<W> {
|
||||
Mf::Unpack2x16snorm => Function::Regular("unpack2x16snorm"),
|
||||
Mf::Unpack2x16unorm => Function::Regular("unpack2x16unorm"),
|
||||
Mf::Unpack2x16float => Function::Regular("unpack2x16float"),
|
||||
Mf::Inverse => {
|
||||
Mf::Inverse | Mf::Outer => {
|
||||
return Err(Error::UnsupportedMathFunction(fun));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -180,7 +180,6 @@ pub fn map_standard_fun(word: &str) -> Option<crate::MathFunction> {
|
||||
"pow" => Mf::Pow,
|
||||
// geometry
|
||||
"dot" => Mf::Dot,
|
||||
"outerProduct" => Mf::Outer,
|
||||
"cross" => Mf::Cross,
|
||||
"distance" => Mf::Distance,
|
||||
"length" => Mf::Length,
|
||||
|
||||
Reference in new issue
Block a user