mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-02-25 13:23:47 +00:00
[msl-out] support all binary ops
This commit is contained in:
parent
3b4935550d
commit
dad02eb0a8
@ -424,7 +424,12 @@ impl<W: Write> Writer<W> {
|
||||
crate::BinaryOperator::Greater => ">",
|
||||
crate::BinaryOperator::GreaterEqual => ">=",
|
||||
crate::BinaryOperator::And => "&",
|
||||
_ => return Err(Error::UnsupportedBinaryOp(op)),
|
||||
crate::BinaryOperator::ExclusiveOr => "^",
|
||||
crate::BinaryOperator::InclusiveOr => "|",
|
||||
crate::BinaryOperator::LogicalAnd => "&&",
|
||||
crate::BinaryOperator::LogicalOr => "||",
|
||||
crate::BinaryOperator::ShiftLeft => "<<",
|
||||
crate::BinaryOperator::ShiftRight => ">>",
|
||||
};
|
||||
let kind = self
|
||||
.typifier
|
||||
|
Loading…
Reference in New Issue
Block a user