Put image memory barrier in proper command buffer
This commit is contained in:
parent
9a727ccc43
commit
144b58a253
1 changed files with 1 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ public:
|
|||
// After the loop, all mip layers are in TRANSFER_SRC layout, so transition all to SHADER_READ
|
||||
subresourceRange.levelCount = texture.mipLevels;
|
||||
vks::tools::insertImageMemoryBarrier(
|
||||
copyCmd,
|
||||
blitCmd,
|
||||
texture.image,
|
||||
VK_ACCESS_TRANSFER_READ_BIT,
|
||||
VK_ACCESS_SHADER_READ_BIT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue