Home
last modified time | relevance | path

Searched refs:submitInfo (Results 1 – 25 of 55) sorted by relevance

123

/external/angle/src/tests/perf_tests/
DVulkanCommandBufferPerf.cpp288 VkSubmitInfo submitInfo[1] = {}; in PrimaryCommandBufferBenchmarkHundredIndividual() local
289 submitInfo[0].pNext = NULL; in PrimaryCommandBufferBenchmarkHundredIndividual()
290 submitInfo[0].sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in PrimaryCommandBufferBenchmarkHundredIndividual()
291 submitInfo[0].waitSemaphoreCount = 1; in PrimaryCommandBufferBenchmarkHundredIndividual()
292 submitInfo[0].pWaitSemaphores = &imageAcquiredSemaphore; in PrimaryCommandBufferBenchmarkHundredIndividual()
293 submitInfo[0].pWaitDstStageMask = &pipe_stage_flags; in PrimaryCommandBufferBenchmarkHundredIndividual()
294 submitInfo[0].commandBufferCount = numBuffers; in PrimaryCommandBufferBenchmarkHundredIndividual()
295 submitInfo[0].pCommandBuffers = info.cmds.data(); in PrimaryCommandBufferBenchmarkHundredIndividual()
296 submitInfo[0].signalSemaphoreCount = 0; in PrimaryCommandBufferBenchmarkHundredIndividual()
297 submitInfo[0].pSignalSemaphores = NULL; in PrimaryCommandBufferBenchmarkHundredIndividual()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicSemaphoreTests.cpp104 const VkSubmitInfo submitInfo[2] = in basicOneQueueCase() local
133 VK_CHECK(vk.queueSubmit(queue, 2u, submitInfo, *fence)); in basicOneQueueCase()
312 VkSubmitInfo submitInfo[COUNT]; in basicMultiQueueCase() local
390 submitInfo[FIRST].sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in basicMultiQueueCase()
391submitInfo[FIRST].pNext = config.semaphoreType == VK_SEMAPHORE_TYPE_TIMELINE_KHR ? &timeli… in basicMultiQueueCase()
392 submitInfo[FIRST].waitSemaphoreCount = 0u; in basicMultiQueueCase()
393 submitInfo[FIRST].pWaitSemaphores = DE_NULL; in basicMultiQueueCase()
394 submitInfo[FIRST].pWaitDstStageMask = (const VkPipelineStageFlags*)DE_NULL; in basicMultiQueueCase()
395 submitInfo[FIRST].commandBufferCount = 1u; in basicMultiQueueCase()
396 submitInfo[FIRST].pCommandBuffers = &cmdBuffer[FIRST].get(); in basicMultiQueueCase()
[all …]
DvktSynchronizationBasicFenceTests.cpp62 const VkSubmitInfo submitInfo = in basicOneFenceCase() local
87 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in basicOneFenceCase()
146 const VkSubmitInfo submitInfo = in basicMultiFenceCase() local
162 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceCase()
170 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceCase()
175 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[SECOND_FENCE])); in basicMultiFenceCase()
248 const VkSubmitInfo submitInfo = in basicMultiFenceWaitAllFalseCase() local
271 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[SECOND_FENCE])); in basicMultiFenceWaitAllFalseCase()
279 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceWaitAllFalseCase()
DvktSynchronizationBasicEventTests.cpp88 const VkSubmitInfo submitInfo = in deviceResetSetEventCase() local
106 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in deviceResetSetEventCase()
116 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in deviceResetSetEventCase()
136 const VkSubmitInfo submitInfo = in singleSubmissionCase() local
158 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in singleSubmissionCase()
181 const VkSubmitInfo submitInfo[COUNT] = in multiSubmissionCase() local
216 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo[SET], fence[SET])); in multiSubmissionCase()
217 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo[WAIT], fence[WAIT])); in multiSubmissionCase()
245 const VkSubmitInfo submitInfo = in secondaryCommandBufferCase() local
290 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in secondaryCommandBufferCase()
DvktSynchronizationSmokeTests.cpp961 static void initSubmitInfo (VkSubmitInfo* submitInfo, deUint32 submitInfoCount) in initSubmitInfo() argument
965 submitInfo[ndx].sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in initSubmitInfo()
966 submitInfo[ndx].pNext = DE_NULL; in initSubmitInfo()
967 submitInfo[ndx].waitSemaphoreCount = 0; in initSubmitInfo()
968 submitInfo[ndx].pWaitSemaphores = DE_NULL; in initSubmitInfo()
969 submitInfo[ndx].pWaitDstStageMask = DE_NULL; in initSubmitInfo()
970 submitInfo[ndx].commandBufferCount = 1; in initSubmitInfo()
971 submitInfo[ndx].signalSemaphoreCount = 0; in initSubmitInfo()
972 submitInfo[ndx].pSignalSemaphores = DE_NULL; in initSubmitInfo()
976 static void initTimelineSemaphoreSubmitInfo (VkTimelineSemaphoreSubmitInfo* submitInfo, deUint32 su… in initTimelineSemaphoreSubmitInfo() argument
[all …]
DvktSynchronizationTimelineSemaphoreTests.cpp314 const VkSubmitInfo submitInfo = in iterate() local
327 VK_CHECK(vk.queueSubmit(queue, (deUint32) 1u, &submitInfo, DE_NULL)); in iterate()
816 const VkSubmitInfo submitInfo = in iterate() local
830 submitInfos[2 * iterIdx] = submitInfo; in iterate()
874 const VkSubmitInfo submitInfo = in iterate() local
888 submitInfos[2 * iterIdx + 1] = submitInfo; in iterate()
1321 const VkSubmitInfo submitInfo = in iterate() local
1368 VK_CHECK(vk.queueSubmit(m_iterations[iterIdx]->queue, 1u, &submitInfo, DE_NULL)); in iterate()
1383 const VkSubmitInfo submitInfo = in iterate() local
1400 VK_CHECK(vk.queueSubmit(m_iterations[iterIdx]->queue, 1u, &submitInfo, DE_NULL)); in iterate()
[all …]
DvktSynchronizationSignalOrderTests.cpp792 const VkSubmitInfo submitInfo = in iterate() local
808 submitInfos[iterIdx] = submitInfo; in iterate()
827 const VkSubmitInfo submitInfo = in iterate() local
841 VK_CHECK(vkB.queueSubmit(queueB, 1, &submitInfo, *fenceB)); in iterate()
1441 const VkSubmitInfo submitInfo = in iterate() local
1457 submitInfos[iterIdx] = submitInfo; in iterate()
1476 const VkSubmitInfo submitInfo = in iterate() local
1490 VK_CHECK(vk.queueSubmit(m_queueB, 1, &submitInfo, *fence)); in iterate()
DvktSynchronizationOperationSingleQueueTests.cpp224 const VkSubmitInfo submitInfo[2] = in iterate() local
277 VK_CHECK(vk.queueSubmit(queue, 2u, submitInfo, DE_NULL)); in iterate()
384 const VkSubmitInfo submitInfo = in iterate() local
396 submitInfos[opNdx] = submitInfo; in iterate()
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm70 VkSubmitInfo submitInfo;
71 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO;
72 submitInfo.pNext = nullptr;
73 submitInfo.waitSemaphoreCount = 0;
74 submitInfo.pWaitSemaphores = nullptr;
75 submitInfo.pWaitDstStageMask = nullptr;
76 submitInfo.commandBufferCount = 1;
77 submitInfo.pCommandBuffers = &fCommandBuffer;
78 submitInfo.signalSemaphoreCount = 0;
79 submitInfo.pSignalSemaphores = nullptr;
[all …]
/external/skia/tools/gpu/vk/
DVkTestContext.cpp93 VkSubmitInfo submitInfo; in insertFence() local
94 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in insertFence()
95 submitInfo.pNext = nullptr; in insertFence()
96 submitInfo.waitSemaphoreCount = 0; in insertFence()
97 submitInfo.pWaitSemaphores = nullptr; in insertFence()
98 submitInfo.pWaitDstStageMask = nullptr; in insertFence()
99 submitInfo.commandBufferCount = 1; in insertFence()
100 submitInfo.pCommandBuffers = &fCommandBuffer; in insertFence()
101 submitInfo.signalSemaphoreCount = 0; in insertFence()
102 submitInfo.pSignalSemaphores = nullptr; in insertFence()
[all …]
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp93 VkSubmitInfo submitInfo; in insertFence() local
94 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in insertFence()
95 submitInfo.pNext = nullptr; in insertFence()
96 submitInfo.waitSemaphoreCount = 0; in insertFence()
97 submitInfo.pWaitSemaphores = nullptr; in insertFence()
98 submitInfo.pWaitDstStageMask = nullptr; in insertFence()
99 submitInfo.commandBufferCount = 1; in insertFence()
100 submitInfo.pCommandBuffers = &fCommandBuffer; in insertFence()
101 submitInfo.signalSemaphoreCount = 0; in insertFence()
102 submitInfo.pSignalSemaphores = nullptr; in insertFence()
[all …]
/external/skqp/tests/
DSurfaceSemaphoreTest.cpp285 VkSubmitInfo submitInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
286 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
287 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
288 submitInfo.pNext = nullptr; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
289 submitInfo.waitSemaphoreCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
291 submitInfo.pWaitSemaphores = &vkSem; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
292 submitInfo.pWaitDstStageMask = &waitStages; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
293 submitInfo.commandBufferCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
294 submitInfo.pCommandBuffers = &cmdBuffer; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
295 submitInfo.signalSemaphoreCount = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skia/tests/
DSurfaceSemaphoreTest.cpp304 VkSubmitInfo submitInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
305 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
306 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
307 submitInfo.pNext = nullptr; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
308 submitInfo.waitSemaphoreCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
310 submitInfo.pWaitSemaphores = &vkSem; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
311 submitInfo.pWaitDstStageMask = &waitStages; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
312 submitInfo.commandBufferCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
313 submitInfo.pCommandBuffers = &cmdBuffer; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
314 submitInfo.signalSemaphoreCount = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skqp/tools/sk_app/
DVulkanWindowContext.cpp588 VkSubmitInfo submitInfo; in getBackbufferSurface() local
589 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in getBackbufferSurface()
590 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in getBackbufferSurface()
591 submitInfo.waitSemaphoreCount = 1; in getBackbufferSurface()
592 submitInfo.pWaitSemaphores = &backbuffer->fAcquireSemaphore; in getBackbufferSurface()
593 submitInfo.pWaitDstStageMask = &waitDstStageFlags; in getBackbufferSurface()
594 submitInfo.commandBufferCount = 1; in getBackbufferSurface()
595 submitInfo.pCommandBuffers = &backbuffer->fTransitionCmdBuffers[0]; in getBackbufferSurface()
596 submitInfo.signalSemaphoreCount = 0; in getBackbufferSurface()
599 QueueSubmit(fGraphicsQueue, 1, &submitInfo, in getBackbufferSurface()
[all …]
/external/swiftshader/src/Vulkan/
DVkQueue.cpp126 auto &submitInfo = task.pSubmits[i]; in submitQueue() local
127 for(uint32_t j = 0; j < submitInfo.waitSemaphoreCount; j++) in submitQueue()
129 vk::Cast(submitInfo.pWaitSemaphores[j])->wait(submitInfo.pWaitDstStageMask[j]); in submitQueue()
136 for(uint32_t j = 0; j < submitInfo.commandBufferCount; j++) in submitQueue()
138 vk::Cast(submitInfo.pCommandBuffers[j])->submit(executionState); in submitQueue()
142 for(uint32_t j = 0; j < submitInfo.signalSemaphoreCount; j++) in submitQueue()
144 vk::Cast(submitInfo.pSignalSemaphores[j])->signal(); in submitQueue()
/external/deqp/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolPerformanceTests.cpp590 const VkSubmitInfo submitInfo = in iterate() local
607 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
667 const VkSubmitInfo submitInfo = in iterate() local
680 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
733 const VkSubmitInfo submitInfo = in iterate() local
751 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
815 const VkSubmitInfo submitInfo = in iterate() local
828 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
1018 const VkSubmitInfo submitInfo = in iterate() local
1031 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in iterate()
[all …]
/external/skqp/src/gpu/vk/
DGrVkCommandBuffer.cpp487 VkSubmitInfo submitInfo; in submit_to_queue() local
488 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in submit_to_queue()
489 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submit_to_queue()
490 submitInfo.pNext = nullptr; in submit_to_queue()
491 submitInfo.waitSemaphoreCount = waitCount; in submit_to_queue()
492 submitInfo.pWaitSemaphores = waitSemaphores; in submit_to_queue()
493 submitInfo.pWaitDstStageMask = waitStages; in submit_to_queue()
494 submitInfo.commandBufferCount = commandBufferCount; in submit_to_queue()
495 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
496 submitInfo.signalSemaphoreCount = signalCount; in submit_to_queue()
[all …]
DGrVkGpu.cpp1619 VkSubmitInfo submitInfo; in createTestingOnlyVkImage() local
1620 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in createTestingOnlyVkImage()
1621 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in createTestingOnlyVkImage()
1622 submitInfo.pNext = nullptr; in createTestingOnlyVkImage()
1623 submitInfo.waitSemaphoreCount = 0; in createTestingOnlyVkImage()
1624 submitInfo.pWaitSemaphores = nullptr; in createTestingOnlyVkImage()
1625 submitInfo.pWaitDstStageMask = 0; in createTestingOnlyVkImage()
1626 submitInfo.commandBufferCount = 1; in createTestingOnlyVkImage()
1627 submitInfo.pCommandBuffers = &cmdBuffer; in createTestingOnlyVkImage()
1628 submitInfo.signalSemaphoreCount = 0; in createTestingOnlyVkImage()
[all …]
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp486 VkSubmitInfo submitInfo; in submit_to_queue() local
487 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in submit_to_queue()
488 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submit_to_queue()
489 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
490 submitInfo.waitSemaphoreCount = waitCount; in submit_to_queue()
491 submitInfo.pWaitSemaphores = waitSemaphores; in submit_to_queue()
492 submitInfo.pWaitDstStageMask = waitStages; in submit_to_queue()
493 submitInfo.commandBufferCount = commandBufferCount; in submit_to_queue()
494 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
495 submitInfo.signalSemaphoreCount = signalCount; in submit_to_queue()
[all …]
DGrVkGpu.cpp1827 VkSubmitInfo submitInfo; in createVkImageForBackendSurface() local
1828 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in createVkImageForBackendSurface()
1829 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in createVkImageForBackendSurface()
1830 submitInfo.pNext = fProtectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in createVkImageForBackendSurface()
1831 submitInfo.waitSemaphoreCount = 0; in createVkImageForBackendSurface()
1832 submitInfo.pWaitSemaphores = nullptr; in createVkImageForBackendSurface()
1833 submitInfo.pWaitDstStageMask = 0; in createVkImageForBackendSurface()
1834 submitInfo.commandBufferCount = 1; in createVkImageForBackendSurface()
1835 submitInfo.pCommandBuffers = &cmdBuffer; in createVkImageForBackendSurface()
1836 submitInfo.signalSemaphoreCount = 0; in createVkImageForBackendSurface()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp222 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
235 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
/external/angle/third_party/VulkanMemoryAllocator/src/
DVulkanSample.cpp185 VkSubmitInfo submitInfo = { VK_STRUCTURE_TYPE_SUBMIT_INFO }; in EndSingleTimeCommands() local
186 submitInfo.commandBufferCount = 1; in EndSingleTimeCommands()
187 submitInfo.pCommandBuffers = &g_hTemporaryCommandBuffer; in EndSingleTimeCommands()
189 ERR_GUARD_VULKAN( vkQueueSubmit(g_hGraphicsQueue, 1, &submitInfo, VK_NULL_HANDLE) ); in EndSingleTimeCommands()
1918 VkSubmitInfo submitInfo = { VK_STRUCTURE_TYPE_SUBMIT_INFO }; in DrawFrame() local
1919 submitInfo.waitSemaphoreCount = 1; in DrawFrame()
1920 submitInfo.pWaitSemaphores = submitWaitSemaphores; in DrawFrame()
1921 submitInfo.pWaitDstStageMask = submitWaitStages; in DrawFrame()
1922 submitInfo.commandBufferCount = 1; in DrawFrame()
1923 submitInfo.pCommandBuffers = &hCommandBuffer; in DrawFrame()
[all …]
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp130 void InitializeSubmitInfo(VkSubmitInfo *submitInfo, in InitializeSubmitInfo() argument
137 ASSERT(submitInfo->signalSemaphoreCount == 0); in InitializeSubmitInfo()
139 submitInfo->sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in InitializeSubmitInfo()
140 submitInfo->commandBufferCount = commandBuffer.valid() ? 1 : 0; in InitializeSubmitInfo()
141 submitInfo->pCommandBuffers = commandBuffer.ptr(); in InitializeSubmitInfo()
148 submitInfo->waitSemaphoreCount = static_cast<uint32_t>(waitSemaphores.size()); in InitializeSubmitInfo()
149 submitInfo->pWaitSemaphores = waitSemaphores.data(); in InitializeSubmitInfo()
150 submitInfo->pWaitDstStageMask = waitSemaphoreStageMasks->data(); in InitializeSubmitInfo()
154 submitInfo->signalSemaphoreCount = 1; in InitializeSubmitInfo()
155 submitInfo->pSignalSemaphores = signalSemaphore->ptr(); in InitializeSubmitInfo()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesQueueBindSparseTests.cpp83 const VkSubmitInfo submitInfo = in makeSubmissionRegular() local
99 submission.info.regular = submitInfo; in makeSubmissionRegular()
DvktSparseResourcesTestsUtil.cpp338 const VkSubmitInfo submitInfo = in submitCommands() local
351 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in submitCommands()
387 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
400 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()

123