Lines Matching refs:pSubmits
33 VkSubmitInfo *DeepCopySubmitInfo(uint32_t submitCount, const VkSubmitInfo *pSubmits) in DeepCopySubmitInfo() argument
39 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo()
40 totalSize += pSubmits[i].waitSemaphoreCount * sizeof(VkPipelineStageFlags); in DeepCopySubmitInfo()
41 totalSize += pSubmits[i].signalSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo()
42 totalSize += pSubmits[i].commandBufferCount * sizeof(VkCommandBuffer); in DeepCopySubmitInfo()
44 for(const auto *extension = reinterpret_cast<const VkBaseInStructure *>(pSubmits[i].pNext); in DeepCopySubmitInfo()
68 memcpy(mem, pSubmits, submitSize); in DeepCopySubmitInfo()
73 size_t size = pSubmits[i].waitSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo()
75 memcpy(mem, pSubmits[i].pWaitSemaphores, size); in DeepCopySubmitInfo()
78 size = pSubmits[i].waitSemaphoreCount * sizeof(VkPipelineStageFlags); in DeepCopySubmitInfo()
80 memcpy(mem, pSubmits[i].pWaitDstStageMask, size); in DeepCopySubmitInfo()
83 size = pSubmits[i].signalSemaphoreCount * sizeof(VkSemaphore); in DeepCopySubmitInfo()
85 memcpy(mem, pSubmits[i].pSignalSemaphores, size); in DeepCopySubmitInfo()
88 size = pSubmits[i].commandBufferCount * sizeof(VkCommandBuffer); in DeepCopySubmitInfo()
90 memcpy(mem, pSubmits[i].pCommandBuffers, size); in DeepCopySubmitInfo()
93 for(const auto *extension = reinterpret_cast<const VkBaseInStructure *>(pSubmits[i].pNext); in DeepCopySubmitInfo()
154 VkResult Queue::submit(uint32_t submitCount, const VkSubmitInfo *pSubmits, Fence *fence) in submit() argument
160 task.pSubmits = DeepCopySubmitInfo(submitCount, pSubmits); in submit()
181 VkSubmitInfo &submitInfo = task.pSubmits[i]; in submitQueue()
244 if(task.pSubmits) in submitQueue()
246 toDelete.put(task.pSubmits); in submitQueue()