mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
rusticl: fix impl_trait_overcaptures lint errors
Reviewed-by: @LingMan Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33688>
This commit is contained in:
parent
31ecf16428
commit
c381518655
2 changed files with 2 additions and 2 deletions
|
|
@ -1142,7 +1142,7 @@ impl DeviceBase {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn subgroup_sizes(&self) -> impl ExactSizeIterator<Item = usize> {
|
||||
pub fn subgroup_sizes(&self) -> impl ExactSizeIterator<Item = usize> + use<> {
|
||||
let subgroup_size = self.screen.compute_caps().subgroup_sizes;
|
||||
|
||||
SetBitIndices::from_msb(subgroup_size).map(|bit| 1 << bit)
|
||||
|
|
|
|||
|
|
@ -1842,7 +1842,7 @@ impl Kernel {
|
|||
self.prog.devs.iter().any(|dev| dev.api_svm_supported())
|
||||
}
|
||||
|
||||
pub fn subgroup_sizes(&self, dev: &Device) -> impl ExactSizeIterator<Item = usize> {
|
||||
pub fn subgroup_sizes(&self, dev: &Device) -> impl ExactSizeIterator<Item = usize> + use<> {
|
||||
SetBitIndices::from_msb(self.builds.get(dev).unwrap().info.simd_sizes).map(|bit| 1 << bit)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue