rusticl: fix clippy errors on image_slice_pitch change to usize
authorKarol Herbst <git@karolherbst.de>
Thu, 8 Jun 2023 12:42:00 +0000 (14:42 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 8 Jun 2023 16:30:52 +0000 (16:30 +0000)
commit1bbc997bef340a8ed8fceede40de030389284a86
treedeaeb9d3d176ad02c46c92a602407a724fdade7b
parentd57303ace77ea9751b522f71a15a666a57104279
rusticl: fix clippy errors on image_slice_pitch change to usize

That field got changed from `unsigned` to `uintptr_t` on the C side, so
now we can drop a bit of code dealing with conversions to `usize`.

Fixes: 68735f4e860 ("treewide: use uint64_t / (u)intptr_t in image address calculations")
Signed-off-by: Karol Herbst <git@karolherbst.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23522>
src/gallium/frontends/rusticl/core/context.rs
src/gallium/frontends/rusticl/core/memory.rs