Skip to content

Commit

Permalink
QVulkanWindow: Fix bogus stage masks in readback
Browse files Browse the repository at this point in the history
Change-Id: I08882a02204c95272b100647923c9903f825912c
Reviewed-by: Andy Nichols <[email protected]>
  • Loading branch information
alpqr committed Sep 12, 2018
1 parent 1c6bd41 commit d6c7089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/vulkan/qvulkanwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2164,8 +2164,8 @@ void QVulkanWindowPrivate::addReadback()
barrier.image = frameGrabImage;

devFuncs->vkCmdPipelineBarrier(image.cmdBuf,
VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
VK_PIPELINE_STAGE_TRANSFER_BIT,
VK_PIPELINE_STAGE_HOST_BIT,
0, 0, nullptr, 0, nullptr,
1, &barrier);
}
Expand Down

0 comments on commit d6c7089

Please sign in to comment.