mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-04 01:43:05 +00:00
vk_texture_cache: Finalize renderpass when downloading images
This commit is contained in:
parent
7850dd0a76
commit
29c39838fe
|
@ -911,6 +911,7 @@ void Image::UploadMemory(const StagingBufferRef& map,
|
|||
|
||||
void Image::DownloadMemory(const StagingBufferRef& map, std::span<const BufferImageCopy> copies) {
|
||||
std::vector vk_copies = TransformBufferImageCopies(copies, map.offset, aspect_mask);
|
||||
scheduler->RequestOutsideRenderPassOperationContext();
|
||||
scheduler->Record([buffer = map.buffer, image = *image, aspect_mask = aspect_mask,
|
||||
vk_copies](vk::CommandBuffer cmdbuf) {
|
||||
const VkImageMemoryBarrier read_barrier{
|
||||
|
|
Loading…
Reference in a new issue