rusticl/mem: do not apply offset with in copy_image_to_buffer
The offset already gets applied when mapping the destination buffer, so we ended up applying it twice. Cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33426>
This commit is contained in:
@@ -1484,7 +1484,6 @@ impl Image {
|
||||
dst_offset: usize,
|
||||
region: &CLVec<usize>,
|
||||
) -> CLResult<()> {
|
||||
let dst_offset = dst.apply_offset(dst_offset)?;
|
||||
let bpp = self.image_format.pixel_size().unwrap().into();
|
||||
|
||||
let src_pitch;
|
||||
|
||||
Reference in New Issue
Block a user