diff --git a/gfx/common/vulkan_common.h b/gfx/common/vulkan_common.h index 0455f8738f..3182f7c4ea 100644 --- a/gfx/common/vulkan_common.h +++ b/gfx/common/vulkan_common.h @@ -489,7 +489,7 @@ typedef struct vk barrier.subresourceRange.levelCount = VK_REMAINING_MIP_LEVELS; \ barrier.subresourceRange.baseArrayLayer = 0; \ barrier.subresourceRange.layerCount = VK_REMAINING_ARRAY_LAYERS; \ - vkCmdPipelineBarrier(cmd, src_stages, dst_stages, false, 0, NULL, 0, NULL, 1, &barrier); \ + vkCmdPipelineBarrier(cmd, src_stages, dst_stages, 0, 0, NULL, 0, NULL, 1, &barrier); \ } #define VULKAN_IMAGE_LAYOUT_TRANSITION_LEVELS(cmd, img, levels, old_layout, new_layout, src_access, dst_access, src_stages, dst_stages) \