Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chapters/synchronization_examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ vkCmdCopyBufferToImage(
// If the graphics queue and transfer queue are the same queue
if (isUnifiedGraphicsAndTransferQueue)
{
// Pipeline barrier before using the vertex data
// Pipeline barrier before using the image
VkImageMemoryBarrier2KHR postCopyMemoryBarrier = {
...
.srcStageMask = VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR,
Expand Down Expand Up @@ -1099,7 +1099,7 @@ if (isUnifiedGraphicsAndTransferQueue)
}
else
{
// Pipeline barrier before using the vertex data
// Pipeline barrier before using image
VkImageMemoryBarrier2KHR postCopyTransferMemoryBarrier = {
...
.srcStageMask = VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR,
Expand All @@ -1126,7 +1126,7 @@ else

vkBeginCommandBuffer(...);

// Pipeline barrier before using the vertex data
// Pipeline barrier before using the image
VkImageMemoryBarrier2KHR postCopyGraphicsMemoryBarrier = {
...
.dstStageMask = VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR,
Expand Down
Loading