Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkQueue.cpp212 SubmitInfo &submitInfo = task.pSubmits[i]; in submitQueue() local
213 for(uint32_t j = 0; j < submitInfo.waitSemaphoreCount; j++) in submitQueue()
215 if(auto *sem = DynamicCast<TimelineSemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue()
217 ASSERT(j < submitInfo.waitSemaphoreValueCount); in submitQueue()
218 sem->wait(submitInfo.pWaitSemaphoreValues[j]); in submitQueue()
220 else if(auto *sem = DynamicCast<BinarySemaphore>(submitInfo.pWaitSemaphores[j])) in submitQueue()
222 sem->wait(submitInfo.pWaitDstStageMask[j]); in submitQueue()
234 for(uint32_t j = 0; j < submitInfo.commandBufferCount; j++) in submitQueue()
236 Cast(submitInfo.pCommandBuffers[j])->submit(executionState); in submitQueue()
240 for(uint32_t j = 0; j < submitInfo.signalSemaphoreCount; j++) in submitQueue()
[all …]
/third_party/flutter/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 …]
/third_party/flutter/skia/tests/
DSurfaceSemaphoreTest.cpp299 VkSubmitInfo submitInfo; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
300 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
302 submitInfo.pNext = nullptr; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
303 submitInfo.waitSemaphoreCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
305 submitInfo.pWaitSemaphores = &vkSem; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
306 submitInfo.pWaitDstStageMask = &waitStages; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
307 submitInfo.commandBufferCount = 1; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
308 submitInfo.pCommandBuffers = &cmdBuffer; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
309 submitInfo.signalSemaphoreCount = 0; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/third_party/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 …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicFenceTests.cpp66 const VkSubmitInfo submitInfo = in basicOneFenceCase() local
91 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in basicOneFenceCase()
182 const VkSubmitInfo submitInfo = in basicMultiFenceCase() local
198 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceCase()
206 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceCase()
211 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[SECOND_FENCE])); in basicMultiFenceCase()
284 const VkSubmitInfo submitInfo = in basicMultiFenceWaitAllFalseCase() local
307 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[SECOND_FENCE])); in basicMultiFenceWaitAllFalseCase()
315 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceWaitAllFalseCase()
DvktSynchronizationUtil.cpp806 …std::vector<VkSubmitInfo> submitInfo(m_submitInfoData.size(), { VK_STRUCTURE_TYPE_SUBMIT_INFO, DE_… in queueSubmit() local
815 VkSubmitInfo& si = submitInfo[i]; in queueSubmit()
856 return m_vk.queueSubmit(queue, static_cast<deUint32>(submitInfo.size()), &submitInfo[0], fence); in queueSubmit()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.cpp291 VkSubmitInfo submitInfo; in SubmitPendingCommands() local
292 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in SubmitPendingCommands()
293 submitInfo.pNext = nullptr; in SubmitPendingCommands()
294 submitInfo.waitSemaphoreCount = static_cast<uint32_t>(mWaitSemaphores.size()); in SubmitPendingCommands()
295 submitInfo.pWaitSemaphores = mWaitSemaphores.data(); in SubmitPendingCommands()
296 submitInfo.pWaitDstStageMask = dstStageMasks.data(); in SubmitPendingCommands()
297 submitInfo.commandBufferCount = 1; in SubmitPendingCommands()
298 submitInfo.pCommandBuffers = &mPendingCommands.commandBuffer; in SubmitPendingCommands()
299 submitInfo.signalSemaphoreCount = 0; in SubmitPendingCommands()
300 submitInfo.pSignalSemaphores = 0; in SubmitPendingCommands()
[all …]
/third_party/skia/third_party/externals/angle2/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 …]
/third_party/skia/third_party/externals/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()
/third_party/vk-gl-cts/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 …]
/third_party/skia/third_party/externals/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()
/third_party/flutter/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp504 VkSubmitInfo submitInfo; in submit_to_queue() local
505 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in submit_to_queue()
506 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submit_to_queue()
507 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
508 submitInfo.waitSemaphoreCount = waitCount; in submit_to_queue()
509 submitInfo.pWaitSemaphores = waitSemaphores; in submit_to_queue()
510 submitInfo.pWaitDstStageMask = waitStages; in submit_to_queue()
511 submitInfo.commandBufferCount = commandBufferCount; in submit_to_queue()
512 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
513 submitInfo.signalSemaphoreCount = signalCount; in submit_to_queue()
[all …]
DGrVkGpu.cpp1810 VkSubmitInfo submitInfo; in createVkImageForBackendSurface() local
1811 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in createVkImageForBackendSurface()
1812 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in createVkImageForBackendSurface()
1813 submitInfo.pNext = fProtectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in createVkImageForBackendSurface()
1814 submitInfo.waitSemaphoreCount = 0; in createVkImageForBackendSurface()
1815 submitInfo.pWaitSemaphores = nullptr; in createVkImageForBackendSurface()
1816 submitInfo.pWaitDstStageMask = 0; in createVkImageForBackendSurface()
1817 submitInfo.commandBufferCount = 1; in createVkImageForBackendSurface()
1818 submitInfo.pCommandBuffers = &cmdBuffer; in createVkImageForBackendSurface()
1819 submitInfo.signalSemaphoreCount = 0; in createVkImageForBackendSurface()
[all …]
/third_party/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp548 VkSubmitInfo submitInfo; in submit_to_queue() local
549 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in submit_to_queue()
550 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submit_to_queue()
551 submitInfo.pNext = protectedContext == GrProtected::kYes ? &protectedSubmitInfo : nullptr; in submit_to_queue()
552 submitInfo.waitSemaphoreCount = waitCount; in submit_to_queue()
553 submitInfo.pWaitSemaphores = waitSemaphores; in submit_to_queue()
554 submitInfo.pWaitDstStageMask = waitStages; in submit_to_queue()
555 submitInfo.commandBufferCount = commandBufferCount; in submit_to_queue()
556 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
557 submitInfo.signalSemaphoreCount = signalCount; in submit_to_queue()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.cpp111 void InitializeSubmitInfo(VkSubmitInfo *submitInfo, in InitializeSubmitInfo() argument
118 ASSERT(submitInfo->signalSemaphoreCount == 0); in InitializeSubmitInfo()
120 submitInfo->sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in InitializeSubmitInfo()
121 submitInfo->commandBufferCount = commandBuffer.valid() ? 1 : 0; in InitializeSubmitInfo()
122 submitInfo->pCommandBuffers = commandBuffer.ptr(); in InitializeSubmitInfo()
130 submitInfo->waitSemaphoreCount = static_cast<uint32_t>(waitSemaphores.size()); in InitializeSubmitInfo()
131 submitInfo->pWaitSemaphores = waitSemaphores.data(); in InitializeSubmitInfo()
132 submitInfo->pWaitDstStageMask = waitSemaphoreStageMasks->data(); in InitializeSubmitInfo()
136 submitInfo->signalSemaphoreCount = 1; in InitializeSubmitInfo()
137 submitInfo->pSignalSemaphores = signalSemaphore->ptr(); in InitializeSubmitInfo()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.cpp254 VkSubmitInfo submitInfo; in SubmitPendingCommands() local
255 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in SubmitPendingCommands()
256 submitInfo.pNext = nullptr; in SubmitPendingCommands()
257 submitInfo.waitSemaphoreCount = in SubmitPendingCommands()
259 submitInfo.pWaitSemaphores = AsVkArray(mRecordingContext.waitSemaphores.data()); in SubmitPendingCommands()
260 submitInfo.pWaitDstStageMask = dstStageMasks.data(); in SubmitPendingCommands()
261 submitInfo.commandBufferCount = 1; in SubmitPendingCommands()
262 submitInfo.pCommandBuffers = &mRecordingContext.commandBuffer; in SubmitPendingCommands()
263 submitInfo.signalSemaphoreCount = in SubmitPendingCommands()
265 submitInfo.pSignalSemaphores = AsVkArray(mRecordingContext.signalSemaphores.data()); in SubmitPendingCommands()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp342 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
355 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp399 const VkSubmitInfo submitInfo = in drawTriangleTest() local
414 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in drawTriangleTest()
659 const VkSubmitInfo submitInfo = in framebufferCompatibleRenderPassTest() local
672 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in framebufferCompatibleRenderPassTest()
1736 const VkSubmitInfo submitInfo = in pipelineInvalidPointersUnusedStructsTest() local
1749 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in pipelineInvalidPointersUnusedStructsTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiColorSpaceTests.cpp559 const VkSubmitInfo submitInfo = in colorspaceCompareTest() local
584 VK_CHECK(vkd.queueSubmit(devHelper.queue, 1u, &submitInfo, DE_NULL)); in colorspaceCompareTest()
704 const VkSubmitInfo submitInfo = in surfaceFormatRenderTest() local
748 VK_CHECK(vkd.queueSubmit(devHelper.queue, 1u, &submitInfo, imageReadyFence)); in surfaceFormatRenderTest()
/third_party/vk-gl-cts/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()

123