mirror of
https://github.com/libretro/RetroArch.git
synced 2025-03-05 00:17:10 +00:00
Make image barriers hit the entire mipchain.
This commit is contained in:
parent
cbca9513ab
commit
e57997bb82
@ -55,8 +55,8 @@ static void image_layout_transition(
|
||||
barrier.dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED;
|
||||
barrier.image = image;
|
||||
barrier.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT;
|
||||
barrier.subresourceRange.levelCount = 1;
|
||||
barrier.subresourceRange.layerCount = 1;
|
||||
barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS;
|
||||
barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS;
|
||||
|
||||
vkCmdPipelineBarrier(cmd,
|
||||
src_stages,
|
||||
|
Loading…
x
Reference in New Issue
Block a user