vulkan/runtime: fix incorrect entrypoint call for CmdCopyImageToBuffer2

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: a8e49be9d9 ("vulkan/runtime: add implementation of older entrypoints using KHR_DAC")
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40587>
This commit is contained in:
Lionel Landwerlin 2026-03-23 23:13:01 +02:00 committed by Marge Bot
parent 1cbb8c82b7
commit 2160e751e3

View file

@ -900,7 +900,7 @@ vk_common_CmdCopyImageToBuffer2(
const struct vk_device_dispatch_table *disp =
&cmd_buffer->base.device->dispatch_table;
disp->CmdCopyMemoryToImageKHR(
disp->CmdCopyImageToMemoryKHR(
commandBuffer,
&(VkCopyDeviceMemoryImageInfoKHR) {
.sType = VK_STRUCTURE_TYPE_COPY_DEVICE_MEMORY_IMAGE_INFO_KHR,