Home
last modified time | relevance | path

Searched refs:submitInfo (Results 1 – 25 of 53) 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/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/swiftshader/src/Vulkan/
DVkQueue.cpp181 VkSubmitInfo &submitInfo = task.pSubmits[i]; in submitQueue() local
183 for(const auto *nextInfo = reinterpret_cast<const VkBaseInStructure *>(submitInfo.pNext); in submitQueue()
189 timelineInfo = reinterpret_cast<const VkTimelineSemaphoreSubmitInfo *>(submitInfo.pNext); in submitQueue()
197 for(uint32_t j = 0; j < submitInfo.waitSemaphoreCount; j++) in submitQueue()
199 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue()
205 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue()
207 sem->wait(submitInfo.pWaitDstStageMask[j]); in submitQueue()
219 for(uint32_t j = 0; j < submitInfo.commandBufferCount; j++) in submitQueue()
221 Cast(submitInfo.pCommandBuffers[j])->submit(executionState); in submitQueue()
225 for(uint32_t j = 0; j < submitInfo.signalSemaphoreCount; j++) in submitQueue()
[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.cpp309 VkSubmitInfo submitInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
310 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
311 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
312 submitInfo.pNext = nullptr; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
313 submitInfo.waitSemaphoreCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
315 submitInfo.pWaitSemaphores = &vkSem; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
316 submitInfo.pWaitDstStageMask = &waitStages; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
317 submitInfo.commandBufferCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
318 submitInfo.pCommandBuffers = &cmdBuffer; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
319 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/deqp/external/vulkancts/modules/vulkan/synchronization/
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()
DvktSynchronizationUtil.cpp805 …std::vector<VkSubmitInfo> submitInfo(m_submitInfoData.size(), { VK_STRUCTURE_TYPE_SUBMIT_INFO, DE_… in queueSubmit() local
814 VkSubmitInfo& si = submitInfo[i]; in queueSubmit()
855 return m_vk.queueSubmit(queue, static_cast<deUint32>(submitInfo.size()), &submitInfo[0], fence); in queueSubmit()
/external/angle/src/libANGLE/renderer/vulkan/
DCommandProcessor.cpp23 void InitializeSubmitInfo(VkSubmitInfo *submitInfo, in InitializeSubmitInfo() argument
30 ASSERT(submitInfo->signalSemaphoreCount == 0); in InitializeSubmitInfo()
32 submitInfo->sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in InitializeSubmitInfo()
33 submitInfo->commandBufferCount = commandBuffer.valid() ? 1 : 0; in InitializeSubmitInfo()
34 submitInfo->pCommandBuffers = commandBuffer.ptr(); in InitializeSubmitInfo()
35 submitInfo->waitSemaphoreCount = static_cast<uint32_t>(waitSemaphores.size()); in InitializeSubmitInfo()
36 submitInfo->pWaitSemaphores = waitSemaphores.data(); in InitializeSubmitInfo()
37 submitInfo->pWaitDstStageMask = waitSemaphoreStageMasks.data(); in InitializeSubmitInfo()
41 submitInfo->signalSemaphoreCount = 1; in InitializeSubmitInfo()
42 submitInfo->pSignalSemaphores = signalSemaphore->ptr(); in InitializeSubmitInfo()
[all …]
/external/llvm-project/mlir/tools/mlir-vulkan-runner/
DVulkanRuntime.cpp529 VkSubmitInfo submitInfo = { in copyResource() local
540 submitInfo.pCommandBuffers = &commandBuffer; in copyResource()
541 RETURN_ON_VULKAN_ERROR(vkQueueSubmit(queue, 1, &submitInfo, VK_NULL_HANDLE), in copyResource()
841 VkSubmitInfo submitInfo = {}; in submitCommandBuffersToQueue() local
842 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submitCommandBuffersToQueue()
843 submitInfo.pNext = nullptr; in submitCommandBuffersToQueue()
844 submitInfo.waitSemaphoreCount = 0; in submitCommandBuffersToQueue()
845 submitInfo.pWaitSemaphores = 0; in submitCommandBuffersToQueue()
846 submitInfo.pWaitDstStageMask = 0; in submitCommandBuffersToQueue()
847 submitInfo.commandBufferCount = commandBuffers.size(); in submitCommandBuffersToQueue()
[all …]
/external/swiftshader/tests/VulkanBenchmarks/
DClearImageBenchmarks.cpp112 vk::SubmitInfo submitInfo; in clear() local
113 submitInfo.commandBufferCount = 1; in clear()
114 submitInfo.pCommandBuffers = &commandBuffer; in clear()
116 queue.submit(1, &submitInfo, nullptr); in clear()
/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()
660 const VkSubmitInfo submitInfo = in iterate() local
673 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
726 const VkSubmitInfo submitInfo = in iterate() local
744 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
801 const VkSubmitInfo submitInfo = in iterate() local
814 VK_CHECK(vkd.queueSubmit(queue, 1u, &submitInfo, *fence)); in iterate()
1004 const VkSubmitInfo submitInfo = in iterate() local
1017 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/swiftshader/tests/VulkanWrapper/
DUtil.cpp61 vk::SubmitInfo submitInfo{}; in endSingleTimeCommands() local
62 submitInfo.commandBufferCount = 1; in endSingleTimeCommands()
63 submitInfo.pCommandBuffers = &commandBuffer; in endSingleTimeCommands()
66 queue.submit(1, &submitInfo, fence); in endSingleTimeCommands()
DDrawTester.cpp90 vk::SubmitInfo submitInfo; in renderFrame() local
91 submitInfo.pWaitDstStageMask = &waitStageMask; in renderFrame()
92 submitInfo.pWaitSemaphores = &presentCompleteSemaphore; in renderFrame()
93 submitInfo.waitSemaphoreCount = 1; in renderFrame()
94 submitInfo.pSignalSemaphores = &renderCompleteSemaphore; in renderFrame()
95 submitInfo.signalSemaphoreCount = 1; in renderFrame()
96 submitInfo.pCommandBuffers = &commandBuffers[currentFrameBuffer]; in renderFrame()
97 submitInfo.commandBufferCount = 1; in renderFrame()
99 queue.submit(1, &submitInfo, waitFences[currentFrameBuffer]); in renderFrame()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp553 VkSubmitInfo submitInfo; in submit_to_queue() local
554 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in submit_to_queue()
555 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submit_to_queue()
556 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
557 submitInfo.waitSemaphoreCount = waitCount; in submit_to_queue()
558 submitInfo.pWaitSemaphores = waitSemaphores; in submit_to_queue()
559 submitInfo.pWaitDstStageMask = waitStages; in submit_to_queue()
560 submitInfo.commandBufferCount = commandBufferCount; in submit_to_queue()
561 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
562 submitInfo.signalSemaphoreCount = signalCount; in submit_to_queue()
[all …]
/external/angle/third_party/vulkan_memory_allocator/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/deqp/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp234 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
247 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesQueueBindSparseTests.cpp83 const VkSubmitInfo submitInfo = in makeSubmissionRegular() local
99 submission.info.regular = submitInfo; in makeSubmissionRegular()
DvktSparseResourcesTestsUtil.cpp355 const VkSubmitInfo submitInfo = in submitCommands() local
368 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in submitCommands()
404 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
417 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp608 const VkSubmitInfo submitInfo = in colorspaceCompareTest() local
633 VK_CHECK(vkd.queueSubmit(devHelper.queue, 1u, &submitInfo, DE_NULL)); in colorspaceCompareTest()
750 const VkSubmitInfo submitInfo = in surfaceFormatRenderTest() local
794 VK_CHECK(vkd.queueSubmit(devHelper.queue, 1u, &submitInfo, imageReadyFence)); in surfaceFormatRenderTest()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawConcurrentTests.cpp232 const VkSubmitInfo submitInfo = in iterate() local
296 VK_CHECK(vk.queueSubmit(computeQueue.queue, 1u, &submitInfo, *computeFence)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp360 const VkSubmitInfo submitInfo = in renderpassLifetimeTest() local
373 VK_CHECK(vk.queueSubmit(context.getUniversalQueue(), 1, &submitInfo, DE_NULL)); in renderpassLifetimeTest()
601 const VkSubmitInfo submitInfo = in framebufferCompatibleRenderPassTest() local
614 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in framebufferCompatibleRenderPassTest()

123