Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicSemaphoreTests.cpp64 const VkSubmitInfo submitInfo[2] = in basicOneQueueCase() local
93 VK_CHECK(vk.queueSubmit(queue, 2u, submitInfo, *fence)); in basicOneQueueCase()
190 VkSubmitInfo submitInfo[COUNT]; in basicMultiQueueCase() local
257 submitInfo[FIRST].sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in basicMultiQueueCase()
258 submitInfo[FIRST].pNext = DE_NULL; in basicMultiQueueCase()
259 submitInfo[FIRST].waitSemaphoreCount = 0u; in basicMultiQueueCase()
260 submitInfo[FIRST].pWaitSemaphores = DE_NULL; in basicMultiQueueCase()
261 submitInfo[FIRST].pWaitDstStageMask = (const VkPipelineStageFlags*)DE_NULL; in basicMultiQueueCase()
262 submitInfo[FIRST].commandBufferCount = 1u; in basicMultiQueueCase()
263 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
264 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[FIRST_FENCE])); in basicMultiFenceWaitAllFalseCase()
265 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence[SECOND_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()
134 const VkSubmitInfo submitInfo = in deviceWaitForEventCase() local
158 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in deviceWaitForEventCase()
182 const VkSubmitInfo submitInfo = in singleSubmissionCase() local
204 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in singleSubmissionCase()
227 const VkSubmitInfo submitInfo[COUNT] = in multiSubmissionCase() local
262 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo[SET], fence[SET])); in multiSubmissionCase()
263 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo[WAIT], fence[WAIT])); in multiSubmissionCase()
[all …]
DvktSynchronizationSmokeTests.cpp959 static void initSubmitInfo (VkSubmitInfo* submitInfo, deUint32 submitInfoCount) in initSubmitInfo() argument
963 submitInfo[ndx].sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in initSubmitInfo()
964 submitInfo[ndx].pNext = DE_NULL; in initSubmitInfo()
965 submitInfo[ndx].waitSemaphoreCount = 0; in initSubmitInfo()
966 submitInfo[ndx].pWaitSemaphores = DE_NULL; in initSubmitInfo()
967 submitInfo[ndx].pWaitDstStageMask = DE_NULL; in initSubmitInfo()
968 submitInfo[ndx].commandBufferCount = 1; in initSubmitInfo()
969 submitInfo[ndx].signalSemaphoreCount = 0; in initSubmitInfo()
970 submitInfo[ndx].pSignalSemaphores = DE_NULL; in initSubmitInfo()
984 VkSubmitInfo submitInfo; in testFences() local
[all …]
DvktSynchronizationOperationMultiQueueTests.cpp330 const VkSubmitInfo submitInfo[] = in iterate() local
368 …VK_CHECK(vk.queueSubmit(queuePairs[pairNdx].queueWrite, 1u, &submitInfo[QUEUETYPE_WRITE], DE_NULL)… in iterate()
369 … VK_CHECK(vk.queueSubmit(queuePairs[pairNdx].queueRead, 1u, &submitInfo[QUEUETYPE_READ], DE_NULL)); in iterate()
DvktSynchronizationOperationSingleQueueTests.cpp200 const VkSubmitInfo submitInfo[2] = in iterate() local
253 VK_CHECK(vk.queueSubmit(queue, 2u, submitInfo, DE_NULL)); in iterate()
/external/swiftshader/src/Vulkan/
DVkQueue.cpp40 auto& submitInfo = pSubmits[i]; in submit() local
41 for(uint32_t j = 0; j < submitInfo.waitSemaphoreCount; j++) in submit()
43 vk::Cast(submitInfo.pWaitSemaphores[j])->wait(submitInfo.pWaitDstStageMask[j]); in submit()
49 for(uint32_t j = 0; j < submitInfo.commandBufferCount; j++) in submit()
51 vk::Cast(submitInfo.pCommandBuffers[j])->submit(executionState); in submit()
55 for(uint32_t j = 0; j < submitInfo.signalSemaphoreCount; j++) in submit()
57 vk::Cast(submitInfo.pSignalSemaphores[j])->signal(); in submit()
/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/mtl/
DMtlTestContext.mm74 VkSubmitInfo submitInfo;
75 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO;
76 submitInfo.pNext = nullptr;
77 submitInfo.waitSemaphoreCount = 0;
78 submitInfo.pWaitSemaphores = nullptr;
79 submitInfo.pWaitDstStageMask = nullptr;
80 submitInfo.commandBufferCount = 1;
81 submitInfo.pCommandBuffers = &fCommandBuffer;
82 submitInfo.signalSemaphoreCount = 0;
83 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/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/skia/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/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/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.cpp1611 VkSubmitInfo submitInfo; in createTestingOnlyVkImage() local
1612 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in createTestingOnlyVkImage()
1613 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in createTestingOnlyVkImage()
1614 submitInfo.pNext = nullptr; in createTestingOnlyVkImage()
1615 submitInfo.waitSemaphoreCount = 0; in createTestingOnlyVkImage()
1616 submitInfo.pWaitSemaphores = nullptr; in createTestingOnlyVkImage()
1617 submitInfo.pWaitDstStageMask = 0; in createTestingOnlyVkImage()
1618 submitInfo.commandBufferCount = 1; in createTestingOnlyVkImage()
1619 submitInfo.pCommandBuffers = &cmdBuffer; in createTestingOnlyVkImage()
1620 submitInfo.signalSemaphoreCount = 0; in createTestingOnlyVkImage()
[all …]
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp490 VkSubmitInfo submitInfo; in submit_to_queue() local
491 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in submit_to_queue()
492 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in submit_to_queue()
493 submitInfo.pNext = nullptr; in submit_to_queue()
494 submitInfo.waitSemaphoreCount = waitCount; in submit_to_queue()
495 submitInfo.pWaitSemaphores = waitSemaphores; in submit_to_queue()
496 submitInfo.pWaitDstStageMask = waitStages; in submit_to_queue()
497 submitInfo.commandBufferCount = commandBufferCount; in submit_to_queue()
498 submitInfo.pCommandBuffers = commandBuffers; in submit_to_queue()
499 submitInfo.signalSemaphoreCount = signalCount; in submit_to_queue()
[all …]
DGrVkGpu.cpp1623 VkSubmitInfo submitInfo; in createTestingOnlyVkImage() local
1624 memset(&submitInfo, 0, sizeof(VkSubmitInfo)); in createTestingOnlyVkImage()
1625 submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO; in createTestingOnlyVkImage()
1626 submitInfo.pNext = nullptr; in createTestingOnlyVkImage()
1627 submitInfo.waitSemaphoreCount = 0; in createTestingOnlyVkImage()
1628 submitInfo.pWaitSemaphores = nullptr; in createTestingOnlyVkImage()
1629 submitInfo.pWaitDstStageMask = 0; in createTestingOnlyVkImage()
1630 submitInfo.commandBufferCount = 1; in createTestingOnlyVkImage()
1631 submitInfo.pCommandBuffers = &cmdBuffer; in createTestingOnlyVkImage()
1632 submitInfo.signalSemaphoreCount = 0; in createTestingOnlyVkImage()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp187 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
200 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp416 const VkSubmitInfo submitInfo = in submitCommands() local
429 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, DE_NULL)); in submitCommands()
465 const VkSubmitInfo submitInfo = in submitCommandsAndWait() local
478 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in submitCommandsAndWait()
DvktSparseResourcesQueueBindSparseTests.cpp83 const VkSubmitInfo submitInfo = in makeSubmissionRegular() local
99 submission.info.regular = submitInfo; in makeSubmissionRegular()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiPipelineTests.cpp379 const VkSubmitInfo submitInfo = in renderpassLifetimeTest() local
392 VK_CHECK(vk.queueSubmit(context.getUniversalQueue(), 1, &submitInfo, DE_NULL)); in renderpassLifetimeTest()
622 const VkSubmitInfo submitInfo = in framebufferCompatibleRenderPassTest() local
635 VK_CHECK(vk.queueSubmit(queue, 1, &submitInfo, DE_NULL)); in framebufferCompatibleRenderPassTest()
DvktApiCommandBuffersTests.cpp870 const VkSubmitInfo submitInfo = in submitAndCheck() local
883 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence.get())); in submitAndCheck()
1762 const VkSubmitInfo submitInfo = in simultaneousUsePrimaryBufferTest() local
1776 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence1)); in simultaneousUsePrimaryBufferTest()
1779 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence2)); in simultaneousUsePrimaryBufferTest()
1895 const VkSubmitInfo submitInfo = in simultaneousUseSecondaryBufferTest() local
1909 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in simultaneousUseSecondaryBufferTest()
2220 const VkSubmitInfo submitInfo = in simultaneousUseSecondaryBufferTwoPrimaryBuffersTest() local
2234 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); in simultaneousUseSecondaryBufferTwoPrimaryBuffersTest()
2593 const VkSubmitInfo submitInfo = in submitBufferCountNonZero() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp866 const vk::VkSubmitInfo submitInfo = in initSwapchainResources() local
875 VK_CHECK(m_vkd.queueSubmit(m_queue, 1u, &submitInfo, (vk::VkFence)0)); in initSwapchainResources()
923 const vk::VkSubmitInfo submitInfo = in render() local
940 VK_CHECK(m_vkd.queueSubmit(m_queue, 1u, &submitInfo, fence)); in render()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemUtils.cpp460 vk::VkSubmitInfo submitInfo = in queueSubmit() local
482 submitInfo.pNext = &protectedInfo; in queueSubmit()
488 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, fence)); in queueSubmit()

12