File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1070,7 +1070,7 @@ vkCmdCopyBufferToImage(
10701070// If the graphics queue and transfer queue are the same queue
10711071if (isUnifiedGraphicsAndTransferQueue)
10721072{
1073- // Pipeline barrier before using the vertex data
1073+ // Pipeline barrier before using the image
10741074 VkImageMemoryBarrier2KHR postCopyMemoryBarrier = {
10751075 ...
10761076 .srcStageMask = VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR,
@@ -1099,7 +1099,7 @@ if (isUnifiedGraphicsAndTransferQueue)
10991099}
11001100else
11011101{
1102- // Pipeline barrier before using the vertex data
1102+ // Pipeline barrier before using image
11031103 VkImageMemoryBarrier2KHR postCopyTransferMemoryBarrier = {
11041104 ...
11051105 .srcStageMask = VK_PIPELINE_STAGE_2_TRANSFER_BIT_KHR,
@@ -1126,7 +1126,7 @@ else
11261126
11271127 vkBeginCommandBuffer(...);
11281128
1129- // Pipeline barrier before using the vertex data
1129+ // Pipeline barrier before using the image
11301130 VkImageMemoryBarrier2KHR postCopyGraphicsMemoryBarrier = {
11311131 ...
11321132 .dstStageMask = VK_PIPELINE_STAGE_2_FRAGMENT_SHADER_BIT_KHR,
You can’t perform that action at this time.
0 commit comments