File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,7 +360,7 @@ VkResult TransferTask::transferDynamicData()
360360
361361 if (!semaphore)
362362 {
363- semaphore = Semaphore::create (device, VK_PIPELINE_STAGE_TRANSFER_BIT );
363+ semaphore = Semaphore::create (device, VK_PIPELINE_STAGE_ALL_COMMANDS_BIT );
364364 }
365365
366366 VkResult result = VK_SUCCESS;
@@ -395,7 +395,7 @@ VkResult TransferTask::transferDynamicData()
395395
396396 vkEndCommandBuffer (vk_commandBuffer);
397397
398- // if no regions to copy have been found then commandBuffer will be empty so no need to submit it to queue and use the associated single semaphore
398+ // if no regions to copy have been found then commandBuffer will be empty so no need to submit it to queue and signal the associated semaphore
399399 if (offset > 0 )
400400 {
401401 // submit the transfer commands
You can’t perform that action at this time.
0 commit comments