ceaf56920c
We had an implementation for image copies and another for buffer to image copies. Refactor the code so we have a single implementation of this. Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13481>