/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
D | VulkanHelper.cpp | 815 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in releaseImageAndSignalSemaphore() local 816 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in releaseImageAndSignalSemaphore() 825 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in releaseImageAndSignalSemaphore() 834 result = vkBeginCommandBuffer(commandBuffers[0], &commandBufferBeginInfo); in releaseImageAndSignalSemaphore() 837 ImageMemoryBarrier(commandBuffers[0], image, mGraphicsQueueFamilyIndex, in releaseImageAndSignalSemaphore() 840 result = vkEndCommandBuffer(commandBuffers[0]); in releaseImageAndSignalSemaphore() 856 /* .pCommandBuffers = */ commandBuffers, in releaseImageAndSignalSemaphore() 875 VkCommandBuffer commandBuffers[] = {VK_NULL_HANDLE}; in waitSemaphoreAndAcquireImage() local 876 constexpr uint32_t commandBufferCount = std::extent<decltype(commandBuffers)>(); in waitSemaphoreAndAcquireImage() 885 result = vkAllocateCommandBuffers(mDevice, &commandBufferAllocateInfo, commandBuffers); in waitSemaphoreAndAcquireImage() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/sc/ |
D | vktCommandPoolMemoryReservationTests.cpp | 184 std::vector<Move<VkCommandBuffer>> commandBuffers (testParams.commandBufferCount); in verifyCommandPoolAllocEqualsCommandBufferAlloc() local 193 allocateCommandBuffers(vk, device, &cmdBufferAllocateInfo, commandBuffers.data()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 208 beginCommandBuffer(vk, commandBuffers[i].get(), 0u); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 212 vk.cmdSetEvent(commandBuffers[i].get(), events[j]->get(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 215 endCommandBuffer(vk, commandBuffers[i].get()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 221 beginCommandBuffer(vk, commandBuffers[i].get(), 0u); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 224 vk.cmdSetEvent(commandBuffers[i].get(), events[j]->get(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 226 endCommandBuffer(vk, commandBuffers[i].get()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 251 vk.getCommandPoolMemoryConsumption(device, *cmdPool, commandBuffers[i].get(), &memConsumption); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
|
D | vktDeviceObjectReservationTests.cpp | 1421 std::vector<CommandBufferSp> commandBuffers(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local 1422 …ateCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers)); in performTest() 1423 …std::fill(begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(commandBuffers), CommandBu… in performTest() 1424 …d, device, commandPools[0]->get(), begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(c… in performTest() 1425 std::fill(begin(commandBuffers), end(commandBuffers), CommandBufferSp()); in performTest() 1426 …ateCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers)); in performTest()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/sc/ |
D | vktCommandPoolMemoryReservationTests.cpp | 184 std::vector<Move<VkCommandBuffer>> commandBuffers (testParams.commandBufferCount); in verifyCommandPoolAllocEqualsCommandBufferAlloc() local 193 allocateCommandBuffers(vk, device, &cmdBufferAllocateInfo, commandBuffers.data()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 208 beginCommandBuffer(vk, commandBuffers[i].get(), 0u); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 212 vk.cmdSetEvent(commandBuffers[i].get(), events[j]->get(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 215 endCommandBuffer(vk, commandBuffers[i].get()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 221 beginCommandBuffer(vk, commandBuffers[i].get(), 0u); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 224 vk.cmdSetEvent(commandBuffers[i].get(), events[j]->get(), VK_PIPELINE_STAGE_ALL_COMMANDS_BIT); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 226 endCommandBuffer(vk, commandBuffers[i].get()); in verifyCommandPoolAllocEqualsCommandBufferAlloc() 251 vk.getCommandPoolMemoryConsumption(device, *cmdPool, commandBuffers[i].get(), &memConsumption); in verifyCommandPoolAllocEqualsCommandBufferAlloc()
|
D | vktDeviceObjectReservationTests.cpp | 1421 std::vector<CommandBufferSp> commandBuffers(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local 1422 …ateCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers)); in performTest() 1423 …std::fill(begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(commandBuffers), CommandBu… in performTest() 1424 …d, device, commandPools[0]->get(), begin(commandBuffers) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(c… in performTest() 1425 std::fill(begin(commandBuffers), end(commandBuffers), CommandBufferSp()); in performTest() 1426 …ateCommandBuffers(vkd, device, commandPools[0]->get(), begin(commandBuffers), end(commandBuffers)); in performTest()
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
D | DrawTester.cpp | 26 device.freeCommandBuffers(commandPool, commandBuffers); in ~DrawTester() 96 submitInfo.pCommandBuffers = &commandBuffers[currentFrameBuffer]; in renderFrame() 362 commandBuffers = device.allocateCommandBuffers(commandBufferAllocateInfo); in createCommandBuffers() 364 for(size_t i = 0; i < commandBuffers.size(); i++) in createCommandBuffers() 367 commandBuffers[i].begin(commandBufferBeginInfo); in createCommandBuffers() 380 commandBuffers[i].beginRenderPass(renderPassBeginInfo, vk::SubpassContents::eInline); in createCommandBuffers() 384 commandBuffers[i].setViewport(0, 1, &viewport); in createCommandBuffers() 387 commandBuffers[i].setScissor(0, 1, &scissor); in createCommandBuffers() 391 …commandBuffers[i].bindDescriptorSets(vk::PipelineBindPoint::eGraphics, pipelineLayout, 0, 1, &desc… in createCommandBuffers() 397 commandBuffers[i].bindPipeline(vk::PipelineBindPoint::eGraphics, pipeline); in createCommandBuffers() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkCommandPool.cpp | 32 for(auto commandBuffer : commandBuffers) in destroy() 72 commandBuffers.insert(pCommandBuffers, pCommandBuffers + commandBufferCount); in allocateCommandBuffers() 81 commandBuffers.erase(pCommandBuffers[i]); in freeCommandBuffers() 91 for(auto commandBuffer : commandBuffers) in reset()
|
D | VkCommandPool.hpp | 40 std::set<VkCommandBuffer> commandBuffers; member in vk::CommandPool
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_HUAWEI_invocation_mask.txt | 50 commandBuffers[imageIndex], 52 vkCmdBindDescriptorSets(commandBuffers[imageIndex], 58 commandBuffers[imageIndex], 61 vkCmdTraceRaysKHR(commandBuffers[imageIndex],
|
D | VK_HUAWEI_invocation_mask.adoc | 54 commandBuffers[imageIndex], 56 vkCmdBindDescriptorSets(commandBuffers[imageIndex], 62 commandBuffers[imageIndex], 65 vkCmdTraceRaysKHR(commandBuffers[imageIndex],
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUQueue.cpp | 35 std::vector<interop::Interface<interop::GPUCommandBuffer>> commandBuffers) { in submit() argument 36 std::vector<wgpu::CommandBuffer> bufs(commandBuffers.size()); in submit() 37 for (size_t i = 0; i < commandBuffers.size(); i++) { in submit() 38 bufs[i] = *commandBuffers[i].As<GPUCommandBuffer>(); in submit()
|
D | GPUQueue.h | 34 std::vector<interop::Interface<interop::GPUCommandBuffer>> commandBuffers) override;
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_HUAWEI_invocation_mask.adoc | 126 commandBuffers[imageIndex], 128 vkCmdBindDescriptorSets(commandBuffers[imageIndex], 134 commandBuffers[imageIndex], 137 vkCmdTraceRaysKHR(commandBuffers[imageIndex],
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp | 799 std::vector<VkCommandBuffer> commandBuffers; in iterate() local 800 commandBuffers.emplace_back(m_cmdBufferA.get()); in iterate() 801 commandBuffers.emplace_back(m_cmdBufferB.get()); in iterate() 810 static_cast<deUint32>(commandBuffers.size()), // deUint32 commandBufferCount; in iterate() 811 commandBuffers.data(), // const VkCommandBuffer* pCommandBuffers; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassMultipleSubpassesMultipleCommandBuffersTests.cpp | 799 std::vector<VkCommandBuffer> commandBuffers; in iterate() local 800 commandBuffers.emplace_back(m_cmdBufferA.get()); in iterate() 801 commandBuffers.emplace_back(m_cmdBufferB.get()); in iterate() 810 static_cast<deUint32>(commandBuffers.size()), // deUint32 commandBufferCount; in iterate() 811 commandBuffers.data(), // const VkCommandBuffer* pCommandBuffers; in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiDisplayControlTests.cpp | 379 std::vector<VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 381 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 383 if (commandBuffers[ndx] != (VkCommandBuffer)0) in deinitCommandBuffers() 384 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 386 commandBuffers[ndx] = (VkCommandBuffer)0; in deinitCommandBuffers() 389 commandBuffers.clear(); in deinitCommandBuffers()
|
D | vktWsiSwapchainTests.cpp | 1335 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in basicRenderTest() local 1363 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest() 1422 …, commandBuffers(allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY,… in FrameStreamObjects() 1437 **commandBuffers[mod], in newFrame() 1447 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anon26e754660111::FrameStreamObjects 1772 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest() local 1811 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest() 2155 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest2() local 2194 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest2() 2336 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in resizeSwapchainTest() local [all …]
|
D | vktWsiSharedPresentableImageTests.cpp | 304 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 306 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 308 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers() 309 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 311 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers() 314 commandBuffers.clear(); in deinitCommandBuffers()
|
D | vktWsiIncrementalPresentTests.cpp | 397 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 399 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 401 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers() 402 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 404 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers() 407 commandBuffers.clear(); in deinitCommandBuffers()
|
D | vktWsiDisplayTimingTests.cpp | 317 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 319 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 321 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers() 322 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 324 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers() 327 commandBuffers.clear(); in deinitCommandBuffers()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
D | vktWsiDisplayControlTests.cpp | 379 std::vector<VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 381 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 383 if (commandBuffers[ndx] != (VkCommandBuffer)0) in deinitCommandBuffers() 384 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 386 commandBuffers[ndx] = (VkCommandBuffer)0; in deinitCommandBuffers() 389 commandBuffers.clear(); in deinitCommandBuffers()
|
D | vktWsiSwapchainTests.cpp | 1335 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in basicRenderTest() local 1363 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in basicRenderTest() 1422 …, commandBuffers(allocateCommandBuffers(vkd, device, cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY,… in FrameStreamObjects() 1437 **commandBuffers[mod], in newFrame() 1447 const vector<CommandBufferSp> commandBuffers; member in vkt::wsi::__anon50de3a260111::FrameStreamObjects 1772 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest() local 1811 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest() 2155 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, *groupDevice, *comman… in deviceGroupRenderTest2() local 2194 const VkCommandBuffer commandBuffer = **commandBuffers[frameNdx%commandBuffers.size()]; in deviceGroupRenderTest2() 2336 …const vector<CommandBufferSp> commandBuffers (allocateCommandBuffers(vkd, device, *commandPool,… in resizeSwapchainTest() local [all …]
|
D | vktWsiSharedPresentableImageTests.cpp | 304 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 306 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 308 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers() 309 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 311 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers() 314 commandBuffers.clear(); in deinitCommandBuffers()
|
D | vktWsiDisplayTimingTests.cpp | 317 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 319 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 321 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers() 322 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 324 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers() 327 commandBuffers.clear(); in deinitCommandBuffers()
|
D | vktWsiIncrementalPresentTests.cpp | 397 std::vector<vk::VkCommandBuffer>& commandBuffers) in deinitCommandBuffers() argument 399 for (size_t ndx = 0; ndx < commandBuffers.size(); ndx++) in deinitCommandBuffers() 401 if (commandBuffers[ndx] != (vk::VkCommandBuffer)0) in deinitCommandBuffers() 402 vkd.freeCommandBuffers(device, commandPool, 1u, &commandBuffers[ndx]); in deinitCommandBuffers() 404 commandBuffers[ndx] = (vk::VkCommandBuffer)0; in deinitCommandBuffers() 407 commandBuffers.clear(); in deinitCommandBuffers()
|