• Home
  • Raw
  • Download

Lines Matching refs:commandBuffers

914     VkCommandBuffer commandBuffers[]                      = {VK_NULL_HANDLE};  in releaseImageAndSignalSemaphore()  local
915 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in releaseImageAndSignalSemaphore()
924 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in releaseImageAndSignalSemaphore()
933 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in releaseImageAndSignalSemaphore()
936 ImageMemoryBarrier(commandBuffers[0], image, mGraphicsQueueFamilyIndex, in releaseImageAndSignalSemaphore()
939 result = vkEndCommandBuffer(commandBuffers[0]); in releaseImageAndSignalSemaphore()
955 /* .pCommandBuffers = */ commandBuffers, in releaseImageAndSignalSemaphore()
974 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in waitSemaphoreAndAcquireImage() local
975 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in waitSemaphoreAndAcquireImage()
984 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in waitSemaphoreAndAcquireImage()
993 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in waitSemaphoreAndAcquireImage()
996 ImageMemoryBarrier(commandBuffers[0], image, VK_QUEUE_FAMILY_EXTERNAL, in waitSemaphoreAndAcquireImage()
999 result = vkEndCommandBuffer(commandBuffers[0]); in waitSemaphoreAndAcquireImage()
1021 /* .pCommandBuffers = */ commandBuffers, in waitSemaphoreAndAcquireImage()
1088 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in readPixels() local
1089 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in readPixels()
1098 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in readPixels()
1107 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in readPixels()
1150 vkCmdPipelineBarrier(commandBuffers[0], VK_PIPELINE_STAGE_TRANSFER_BIT, in readPixels()
1156 vkCmdCopyImageToBuffer(commandBuffers[0], srcImage, srcImageLayout, stagingBuffer, in readPixels()
1166 vkCmdPipelineBarrier(commandBuffers[0], VK_PIPELINE_STAGE_TRANSFER_BIT, in readPixels()
1170 result = vkEndCommandBuffer(commandBuffers[0]); in readPixels()
1181 /* .pCommandBuffers = */ commandBuffers, in readPixels()
1195 vkFreeCommandBuffers(mDevice, mCommandPool, commandBufferCount, commandBuffers); in readPixels()
1301 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in writePixels() local
1302 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in writePixels()
1311 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in writePixels()
1320 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in writePixels()
1331 vkCmdPipelineBarrier(commandBuffers[0], VK_PIPELINE_STAGE_HOST_BIT, in writePixels()
1358 vkCmdPipelineBarrier(commandBuffers[0], VK_PIPELINE_STAGE_TRANSFER_BIT, in writePixels()
1384 vkCmdCopyBufferToImage(commandBuffers[0], stagingBuffer, dstImage, imageLayout, in writePixels()
1387 result = vkEndCommandBuffer(commandBuffers[0]); in writePixels()
1398 /* .pCommandBuffers = */ commandBuffers, in writePixels()
1412 vkFreeCommandBuffers(mDevice, mCommandPool, commandBufferCount, commandBuffers); in writePixels()