Skip to content

Commit

Permalink
[wgsl] Removes isFinite and isNormal
Browse files Browse the repository at this point in the history
  • Loading branch information
evahop authored and teoxoy committed Jan 23, 2023
1 parent 74e5b4a commit a638da9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/back/wgsl/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1685,8 +1685,6 @@ impl<W: Write> Writer<W> {
use crate::RelationalFunction as Rf;

let fun_name = match fun {
Rf::IsFinite => "isFinite",
Rf::IsNormal => "isNormal",
Rf::All => "all",
Rf::Any => "any",
_ => return Err(Error::UnsupportedRelationalFunction(fun)),
Expand Down
2 changes: 0 additions & 2 deletions src/front/wgsl/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,6 @@ pub fn map_relational_fun(word: &str) -> Option<crate::RelationalFunction> {
match word {
"any" => Some(crate::RelationalFunction::Any),
"all" => Some(crate::RelationalFunction::All),
"isFinite" => Some(crate::RelationalFunction::IsFinite),
"isNormal" => Some(crate::RelationalFunction::IsNormal),
_ => None,
}
}
Expand Down

0 comments on commit a638da9

Please sign in to comment.