[PATCH vkd3d 3/7] vkd3d-shader: Merge prepare_image() functions.