mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 10:30:08 +01: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 {
|
||||
(shifted >> 32) as u32
|
||||
} else if self.dst_high {
|
||||
let dst = if (sm.sm() < 70 && !self.right) || self.dst_high {
|
||||
(shifted >> 32) as u32
|
||||
} else {
|
||||
shifted as u32
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue