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:
Eric Engestrom 2025-12-04 17:23:17 +01:00
parent 74aa12e5ab
commit 5ebe62ebed

View file

@ -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];