mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
nak: fix clippy::if_same_then_else error
Fixes: 9321a785cf ("nak: Implement Foldable for OpShf")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30323>
This commit is contained in:
parent
526a572233
commit
3b6867f53a
1 changed files with 1 additions and 3 deletions
|
|
@ -3673,9 +3673,7 @@ impl Foldable for OpShf {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let dst = if sm.sm() < 70 && !self.right {
|
let dst = if (sm.sm() < 70 && !self.right) || self.dst_high {
|
||||||
(shifted >> 32) as u32
|
|
||||||
} else if self.dst_high {
|
|
||||||
(shifted >> 32) as u32
|
(shifted >> 32) as u32
|
||||||
} else {
|
} else {
|
||||||
shifted as u32
|
shifted as u32
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue