mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 05:10:11 +01:00
nak: replace .get(0) with .first()
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
124fe82762
commit
9cfb4b1fdb
1 changed files with 1 additions and 1 deletions
|
|
@ -9756,7 +9756,7 @@ impl Shader<'_> {
|
||||||
assert!(self.functions.len() == 1);
|
assert!(self.functions.len() == 1);
|
||||||
vertex_info.isbe_space_sharing_enable =
|
vertex_info.isbe_space_sharing_enable =
|
||||||
can_isbe_space_sharing_be_enabled(
|
can_isbe_space_sharing_be_enabled(
|
||||||
self.functions.get(0).unwrap(),
|
self.functions.first().unwrap(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue