mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-03-27 22:05:25 -06:00
waw hotfix (#4146)
This commit is contained in:
parent
78411c4b8a
commit
f245cf76a7
@ -647,6 +647,10 @@ void Image::CopyImageWithBuffer(Image& src_image, vk::Buffer buffer, u64 offset)
|
||||
|
||||
cmdbuf.copyBufferToImage(buffer, GetImage(), vk::ImageLayout::eTransferDstOptimal,
|
||||
buffer_copies);
|
||||
|
||||
// Match CopyImage: transition to general so shaders can sample the result.
|
||||
Transit(vk::ImageLayout::eGeneral,
|
||||
vk::AccessFlagBits2::eShaderRead | vk::AccessFlagBits2::eTransferRead, {});
|
||||
}
|
||||
|
||||
void Image::CopyMip(Image& src_image, u32 mip, u32 slice) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user