mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
rusticl: silence incorrect clippy error about re-implementing memcpy
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38807>
This commit is contained in:
parent
74aa12e5ab
commit
5ebe62ebed
1 changed files with 2 additions and 0 deletions
|
|
@ -1441,6 +1441,8 @@ impl Kernel {
|
|||
) {
|
||||
// We have to use the required workgroup size if specified.
|
||||
if self.work_group_size() != [0; 3] {
|
||||
// This is not just a memcpy, clippy is wrong here
|
||||
#[expect(clippy::manual_memcpy)]
|
||||
for i in 0..work_dim {
|
||||
block[i] = self.work_group_size()[i];
|
||||
grid[i] /= block[i];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue