mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
vulkan/runtime: fix missing copy image layout
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:
parent
a83a88df91
commit
1cbb8c82b7
1 changed files with 2 additions and 0 deletions
|
|
@ -851,6 +851,7 @@ vk_common_CmdCopyBufferToImage2(
|
|||
.addressRowLength = pCopyBufferToImageInfo->pRegions[r].bufferRowLength,
|
||||
.addressImageHeight = pCopyBufferToImageInfo->pRegions[r].bufferImageHeight,
|
||||
.imageSubresource = pCopyBufferToImageInfo->pRegions[r].imageSubresource,
|
||||
.imageLayout = pCopyBufferToImageInfo->dstImageLayout,
|
||||
.imageOffset = pCopyBufferToImageInfo->pRegions[r].imageOffset,
|
||||
.imageExtent = pCopyBufferToImageInfo->pRegions[r].imageExtent,
|
||||
};
|
||||
|
|
@ -891,6 +892,7 @@ vk_common_CmdCopyImageToBuffer2(
|
|||
.addressRowLength = pCopyImageToBufferInfo->pRegions[r].bufferRowLength,
|
||||
.addressImageHeight = pCopyImageToBufferInfo->pRegions[r].bufferImageHeight,
|
||||
.imageSubresource = pCopyImageToBufferInfo->pRegions[r].imageSubresource,
|
||||
.imageLayout = pCopyImageToBufferInfo->srcImageLayout,
|
||||
.imageOffset = pCopyImageToBufferInfo->pRegions[r].imageOffset,
|
||||
.imageExtent = pCopyImageToBufferInfo->pRegions[r].imageExtent,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue