Lines Matching refs:commandBuffers
723 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in releaseImageAndSignalSemaphore() local
724 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in releaseImageAndSignalSemaphore()
733 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in releaseImageAndSignalSemaphore()
742 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in releaseImageAndSignalSemaphore()
745 ImageMemoryBarrier(commandBuffers[0], image, mGraphicsQueueFamilyIndex, in releaseImageAndSignalSemaphore()
748 result = vkEndCommandBuffer(commandBuffers[0]); in releaseImageAndSignalSemaphore()
764 /* .pCommandBuffers = */ commandBuffers, in releaseImageAndSignalSemaphore()
783 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in waitSemaphoreAndAcquireImage() local
784 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in waitSemaphoreAndAcquireImage()
793 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in waitSemaphoreAndAcquireImage()
802 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in waitSemaphoreAndAcquireImage()
805 ImageMemoryBarrier(commandBuffers[0], image, VK_QUEUE_FAMILY_EXTERNAL, in waitSemaphoreAndAcquireImage()
808 result = vkEndCommandBuffer(commandBuffers[0]); in waitSemaphoreAndAcquireImage()
830 /* .pCommandBuffers = */ commandBuffers, in waitSemaphoreAndAcquireImage()
897 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in readPixels() local
898 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in readPixels()
907 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in readPixels()
916 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in readPixels()
937 vkCmdCopyImageToBuffer(commandBuffers[0], srcImage, srcImageLayout, stagingBuffer, in readPixels()
947 vkCmdPipelineBarrier(commandBuffers[0], VK_PIPELINE_STAGE_TRANSFER_BIT, in readPixels()
951 result = vkEndCommandBuffer(commandBuffers[0]); in readPixels()
962 /* .pCommandBuffers = */ commandBuffers, in readPixels()
976 vkFreeCommandBuffers(mDevice, mCommandPool, commandBufferCount, commandBuffers); in readPixels()