Home
last modified time | relevance | path

Searched refs:secondaryCmdBuffers (Results 1 – 8 of 8) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationBasicEventTests.cpp365 VkCommandBuffer secondaryCmdBuffers[] = {*prtCmdBuffers[SET], *prtCmdBuffers[WAIT]}; in secondaryCommandBufferCase() local
403 VK_CHECK(vk.beginCommandBuffer(secondaryCmdBuffers[SET], &cmdBufferBeginInfo)); in secondaryCommandBufferCase()
404 synchronizationWrapper->cmdSetEvent(secondaryCmdBuffers[SET], *event, &dependencyInfos[SET]); in secondaryCommandBufferCase()
405 endCommandBuffer(vk, secondaryCmdBuffers[SET]); in secondaryCommandBufferCase()
407 VK_CHECK(vk.beginCommandBuffer(secondaryCmdBuffers[WAIT], &cmdBufferBeginInfo)); in secondaryCommandBufferCase()
408 …synchronizationWrapper->cmdWaitEvents(secondaryCmdBuffers[WAIT], 1u, &event.get(), &dependencyInfo… in secondaryCommandBufferCase()
409 endCommandBuffer(vk, secondaryCmdBuffers[WAIT]); in secondaryCommandBufferCase()
412 vk.cmdExecuteCommands(*primaryCmdBuffer, 2u, secondaryCmdBuffers); in secondaryCommandBufferCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationBasicEventTests.cpp365 VkCommandBuffer secondaryCmdBuffers[] = {*prtCmdBuffers[SET], *prtCmdBuffers[WAIT]}; in secondaryCommandBufferCase() local
403 VK_CHECK(vk.beginCommandBuffer(secondaryCmdBuffers[SET], &cmdBufferBeginInfo)); in secondaryCommandBufferCase()
404 synchronizationWrapper->cmdSetEvent(secondaryCmdBuffers[SET], *event, &dependencyInfos[SET]); in secondaryCommandBufferCase()
405 endCommandBuffer(vk, secondaryCmdBuffers[SET]); in secondaryCommandBufferCase()
407 VK_CHECK(vk.beginCommandBuffer(secondaryCmdBuffers[WAIT], &cmdBufferBeginInfo)); in secondaryCommandBufferCase()
408 …synchronizationWrapper->cmdWaitEvents(secondaryCmdBuffers[WAIT], 1u, &event.get(), &dependencyInfo… in secondaryCommandBufferCase()
409 endCommandBuffer(vk, secondaryCmdBuffers[WAIT]); in secondaryCommandBufferCase()
412 vk.cmdExecuteCommands(*primaryCmdBuffer, 2u, secondaryCmdBuffers); in secondaryCommandBufferCase()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp1890 std::vector<VkCommandBufferSp> secondaryCmdBuffers(queryCount); in executeTest() local
1893secondaryCmdBuffers[i] = VkCommandBufferSp(new vk::Unique<VkCommandBuffer>(allocateCommandBuffer(v… in executeTest()
1897 …beginSecondaryCommandBuffer(vk, secondaryCmdBuffers[i]->get(), m_parametersGraphic.queryStatisticF… in executeTest()
1898 vk.cmdBeginQuery(secondaryCmdBuffers[i]->get(), *queryPool, i, (VkQueryControlFlags)0u); in executeTest()
1899 vk.cmdBindPipeline(secondaryCmdBuffers[i]->get(), VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in executeTest()
1900 …vk.cmdBindVertexBuffers(secondaryCmdBuffers[i]->get(), 0u, 1u, &vertexBuffer, &vertexBufferOffset); in executeTest()
1902 draw(secondaryCmdBuffers[i]->get()); in executeTest()
1903 commandClearAttachment(vk, secondaryCmdBuffers[i]->get()); in executeTest()
1904 vk.cmdEndQuery(secondaryCmdBuffers[i]->get(), *queryPool, i); in executeTest()
1905 endCommandBuffer(vk, secondaryCmdBuffers[i]->get()); in executeTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/query_pool/
DvktQueryPoolStatisticsTests.cpp1890 std::vector<VkCommandBufferSp> secondaryCmdBuffers(queryCount); in executeTest() local
1893secondaryCmdBuffers[i] = VkCommandBufferSp(new vk::Unique<VkCommandBuffer>(allocateCommandBuffer(v… in executeTest()
1897 …beginSecondaryCommandBuffer(vk, secondaryCmdBuffers[i]->get(), m_parametersGraphic.queryStatisticF… in executeTest()
1898 vk.cmdBeginQuery(secondaryCmdBuffers[i]->get(), *queryPool, i, (VkQueryControlFlags)0u); in executeTest()
1899 vk.cmdBindPipeline(secondaryCmdBuffers[i]->get(), VK_PIPELINE_BIND_POINT_GRAPHICS, *m_pipeline); in executeTest()
1900 …vk.cmdBindVertexBuffers(secondaryCmdBuffers[i]->get(), 0u, 1u, &vertexBuffer, &vertexBufferOffset); in executeTest()
1902 draw(secondaryCmdBuffers[i]->get()); in executeTest()
1903 commandClearAttachment(vk, secondaryCmdBuffers[i]->get()); in executeTest()
1904 vk.cmdEndQuery(secondaryCmdBuffers[i]->get(), *queryPool, i); in executeTest()
1905 endCommandBuffer(vk, secondaryCmdBuffers[i]->get()); in executeTest()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/
DvktDynamicRenderingRandomTests.cpp382 std::vector<Move<VkCommandBuffer>> secondaryCmdBuffers; in iterate() local
569secondaryCmdBuffers.push_back(allocateCommandBuffer(vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_… in iterate()
605 VK_CHECK(vk.beginCommandBuffer(*secondaryCmdBuffers.back(), &commandBufBeginParams)); in iterate()
608 …const VkCommandBuffer& cmdBuffer = useSecondaryCmdBuffer ? *secondaryCmdBuffers.back() : *cm… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/
DvktDynamicRenderingRandomTests.cpp382 std::vector<Move<VkCommandBuffer>> secondaryCmdBuffers; in iterate() local
569secondaryCmdBuffers.push_back(allocateCommandBuffer(vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_… in iterate()
605 VK_CHECK(vk.beginCommandBuffer(*secondaryCmdBuffers.back(), &commandBufBeginParams)); in iterate()
608 …const VkCommandBuffer& cmdBuffer = useSecondaryCmdBuffer ? *secondaryCmdBuffers.back() : *cm… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateInheritanceTests.cpp737 VkCommandBuffer secondaryCmdBuffers[2] = {m_setStateCmdBuffer.get(), in startRenderCmds() local
739 m_vk.cmdExecuteCommands(m_primaryCmdBuffer.get(), 2, secondaryCmdBuffers); in startRenderCmds()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateInheritanceTests.cpp737 VkCommandBuffer secondaryCmdBuffers[2] = {m_setStateCmdBuffer.get(), in startRenderCmds() local
739 m_vk.cmdExecuteCommands(m_primaryCmdBuffer.get(), 2, secondaryCmdBuffers); in startRenderCmds()