Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDispatchTests.cpp97 compute::Buffer& indirectBuffer);
154 compute::Buffer& indirectBuffer) in recordDispatch() argument
167 vk.cmdDispatchIndirect(cmdBuffer, *indirectBuffer, 0); in recordDispatch()
232 compute::Buffer indirectBuffer( in iterate() local
237 …deUint8* indirectBufferPtr = reinterpret_cast<deUint8*>(indirectBuffer.getAllocation().getHostPtr(… in iterate()
240 vk::flushAlloc(vk, device, indirectBuffer.getAllocation()); in iterate()
292 recordDispatch(vk, *secondaryCmdBuffer, indirectBuffer); in iterate()
298 recordDispatch(vk, *secondaryCmdBuffer, indirectBuffer); in iterate()
312 recordDispatch(vk, *cmdBuffer, indirectBuffer); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp136 const Buffer& indirectBuffer);
180 …oad::fillIndirectBufferData (const vk::VkCommandBuffer commandBuffer, const Buffer& indirectBuffer) in fillIndirectBufferData() argument
184 const vk::Allocation& alloc = indirectBuffer.getAllocation(); in fillIndirectBufferData()
276 Buffer indirectBuffer( in iterate() local
280 fillIndirectBufferData(*cmdBuffer, indirectBuffer); in iterate()
307 …m_device_interface.cmdDispatchIndirect(*cmdBuffer, *indirectBuffer, m_dispatchCommands[cmdNdx].m_o… in iterate()
450 const Buffer& indirectBuffer);
463 …ate::fillIndirectBufferData (const vk::VkCommandBuffer commandBuffer, const Buffer& indirectBuffer) in fillIndirectBufferData() argument
486 …const vk::VkDescriptorBufferInfo indirectDescriptorInfo = makeDescriptorBufferInfo(*indirectBuffer in fillIndirectBufferData()
493 …vk::VK_ACCESS_SHADER_WRITE_BIT, vk::VK_ACCESS_INDIRECT_COMMAND_READ_BIT, *indirectBuffer, 0ull, m_… in fillIndirectBufferData()
/external/deqp/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraceRaysTests.cpp444 de::MovePtr<BufferWithMemory> indirectBuffer; in runTest() local
453indirectBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vkd, device, all… in runTest()
465 …deMemcpy(indirectBuffer->getAllocation().getHostPtr(), &m_data.traceDimensions, sizeof(VkTraceRays… in runTest()
466 …flushMappedMemoryRange(vkd, device, indirectBuffer->getAllocation().getMemory(), indirectBuffer->g… in runTest()
496 …orBufferInfo indirectBufferDescriptorInfo = makeDescriptorBufferInfo(indirectBuffer->get(), 0ull, … in runTest()
507 indirectBuffer->get(), 0ull, sizeof(VkTraceRaysIndirectCommandKHR)); in runTest()
548 getBufferDeviceAddress(vkd, device, indirectBuffer->get(), 0)); in runTest()
DvktRayTracingBuildIndirectTests.cpp177 const VkBuffer indirectBuffer,
181 const VkBuffer indirectBuffer,
362 const VkBuffer indirectBuffer, in initTopAccelerationStructure() argument
373 result->setIndirectBuildParameters(indirectBuffer, indirectBufferOffset, indirectBufferStride); in initTopAccelerationStructure()
381 const VkBuffer indirectBuffer, in initBottomAccelerationStructure() argument
391 result->setIndirectBuildParameters(indirectBuffer, indirectBufferOffset, indirectBufferStride); in initBottomAccelerationStructure()
/external/skia/src/gpu/vk/
DGrVkCommandBuffer.cpp320 sk_sp<const GrBuffer> indirectBuffer, in drawIndirect() argument
326 SkASSERT(!indirectBuffer->isCpuBuffer()); in drawIndirect()
328 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(indirectBuffer.get())->vkBuffer(); in drawIndirect()
334 this->addGrBuffer(std::move(indirectBuffer)); in drawIndirect()
338 sk_sp<const GrBuffer> indirectBuffer, in drawIndexedIndirect() argument
344 SkASSERT(!indirectBuffer->isCpuBuffer()); in drawIndexedIndirect()
346 VkBuffer vkBuffer = static_cast<const GrVkBuffer*>(indirectBuffer.get())->vkBuffer(); in drawIndexedIndirect()
352 this->addGrBuffer(std::move(indirectBuffer)); in drawIndexedIndirect()
DGrVkCommandBuffer.h98 sk_sp<const GrBuffer> indirectBuffer,
104 sk_sp<const GrBuffer> indirectBuffer,
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp871 vk::Move<vk::VkBuffer> indirectBuffer; in iterate() local
889 indirectBuffer = createBuffer(vk, vkDevice, &indirectCreateInfo); in iterate()
890 …indirectAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indirectBuffer), vk:… in iterate()
891 …VK_CHECK(vk.bindBufferMemory(vkDevice, *indirectBuffer, indirectAlloc->getMemory(), indirectAlloc-… in iterate()
904 … m_vk.cmdDrawIndirect(*m_cmdBuffer, *indirectBuffer, offset, 1, sizeof(vk::VkDrawIndirectCommand)); in iterate()
909 …m_vk.cmdDrawIndirect(*m_cmdBuffer, *indirectBuffer, indirectAlloc->getOffset(), (deUint32)m_data.c… in iterate()
1024 vk::Move<vk::VkBuffer> indirectBuffer; in iterate() local
1042 indirectBuffer = createBuffer(vk, vkDevice, &indirectCreateInfo); in iterate()
1043 …indirectAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indirectBuffer), vk:… in iterate()
1044 …VK_CHECK(vk.bindBufferMemory(vkDevice, *indirectBuffer, indirectAlloc->getMemory(), indirectAlloc-… in iterate()
[all …]
DvktDrawInstancedTests.cpp541 de::SharedPtr<Buffer> indirectBuffer; in iterate() local
637indirectBuffer = createAndUploadBuffer(drawCommands, m_vk, m_context, vk::VK_BUFFER_USAGE_INDIRECT… in iterate()
639 m_vk.cmdDrawIndirect(*m_cmdBuffer, indirectBuffer->object(), 0, 1u, 0u); in iterate()
654indirectBuffer = createAndUploadBuffer(drawCommands, m_vk, m_context, vk::VK_BUFFER_USAGE_INDIRECT… in iterate()
656 m_vk.cmdDrawIndexedIndirect(*m_cmdBuffer, indirectBuffer->object(), 0, 1u, 0u); in iterate()
/external/mesa3d/include/vulkan/
Dvulkan_beta.h331 …ryInfoKHR* pInfo, VkBuffer indirectBuffer, VkDeviceSize …
368 VkBuffer indirectBuffer,
/external/vulkan-headers/include/vulkan/
Dvulkan_beta.h331 …ryInfoKHR* pInfo, VkBuffer indirectBuffer, VkDeviceSize …
368 VkBuffer indirectBuffer,
Dvulkan.hpp1410 …, const VkAccelerationStructureBuildGeometryInfoKHR* pInfo, VkBuffer indirectBuffer, VkDeviceSize … in vkCmdBuildAccelerationStructureIndirectKHR() argument
1412 …return ::vkCmdBuildAccelerationStructureIndirectKHR( commandBuffer, pInfo, indirectBuffer, indirec… in vkCmdBuildAccelerationStructureIndirectKHR()
35085 …onStructureBuildGeometryInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA…
35088 …onStructureBuildGeometryInfoKHR & info, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA…
81641 …onStructureBuildGeometryInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA… in buildAccelerationStructureIndirectKHR() argument
81643 …ionStructureBuildGeometryInfoKHR *>( pInfo ), static_cast<VkBuffer>( indirectBuffer ), static_cast… in buildAccelerationStructureIndirectKHR()
81648 …onStructureBuildGeometryInfoKHR & info, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA… in buildAccelerationStructureIndirectKHR() argument
81650 …ionStructureBuildGeometryInfoKHR *>( &info ), static_cast<VkBuffer>( indirectBuffer ), static_cast… in buildAccelerationStructureIndirectKHR()
/external/swiftshader/include/vulkan/
Dvulkan_beta.h331 …ryInfoKHR* pInfo, VkBuffer indirectBuffer, VkDeviceSize …
368 VkBuffer indirectBuffer,
Dvulkan.hpp1405 …, const VkAccelerationStructureBuildGeometryInfoKHR* pInfo, VkBuffer indirectBuffer, VkDeviceSize … in vkCmdBuildAccelerationStructureIndirectKHR() argument
1407 …return ::vkCmdBuildAccelerationStructureIndirectKHR( commandBuffer, pInfo, indirectBuffer, indirec… in vkCmdBuildAccelerationStructureIndirectKHR()
35243 …onStructureBuildGeometryInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA…
35246 …onStructureBuildGeometryInfoKHR & info, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA…
82141 …onStructureBuildGeometryInfoKHR* pInfo, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA… in buildAccelerationStructureIndirectKHR() argument
82143 …ionStructureBuildGeometryInfoKHR *>( pInfo ), static_cast<VkBuffer>( indirectBuffer ), static_cast… in buildAccelerationStructureIndirectKHR()
82148 …onStructureBuildGeometryInfoKHR & info, VULKAN_HPP_NAMESPACE::Buffer indirectBuffer, VULKAN_HPP_NA… in buildAccelerationStructureIndirectKHR() argument
82150 …ionStructureBuildGeometryInfoKHR *>( &info ), static_cast<VkBuffer>( indirectBuffer ), static_cast… in buildAccelerationStructureIndirectKHR()
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp2001 Value *indirectBuffer; in visit() local
2002 uint32_t buffer = getIndirect(&insn->src[0], 0, indirectBuffer); in visit()
2005 mkOp1(OP_BUFQ, dType, newDefs[0], sym)->setIndirect(0, 0, indirectBuffer); in visit()
2010 Value *indirectBuffer; in visit() local
2012 uint32_t buffer = getIndirect(&insn->src[1], 0, indirectBuffer); in visit()
2021 ->setIndirect(0, 1, indirectBuffer); in visit()
2029 Value *indirectBuffer; in visit() local
2031 uint32_t buffer = getIndirect(&insn->src[0], 0, indirectBuffer); in visit()
2036 indirectOffset, indirectBuffer); in visit()
2075 Value *indirectBuffer; in visit() local
[all …]
/external/skia/src/gpu/mtl/
DGrMtlOpsRenderPass.mm373 indirectBuffer:mtlIndirectBuffer->mtlBuffer()
404 indirectBuffer:mtlIndirectBuffer->mtlBuffer()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp995 vk::BufferHelper *indirectBuffer, in setupIndirectDraw() argument
1004 if (mCurrentTransformFeedbackBuffers.contains(indirectBuffer)) in setupIndirectDraw()
1014 vk::PipelineStage::DrawIndirect, indirectBuffer); in setupIndirectDraw()
1022 vk::BufferHelper *indirectBuffer, in setupIndexedIndirectDraw() argument
1033 return setupIndirectDraw(context, mode, mIndexedDirtyBitsMask, indirectBuffer, in setupIndexedIndirectDraw()
1069 vk::BufferHelper *indirectBuffer, in setupLineLoopIndirectDraw() argument
1079 context, indirectBuffer, indirectBufferOffset, &indirectBufferHelperOut, in setupLineLoopIndirectDraw()
2748 gl::Buffer *indirectBuffer = mState.getTargetBuffer(gl::BufferBinding::DrawIndirect); in drawArraysIndirect() local
2751 &vk::GetImpl(indirectBuffer)->getBufferAndOffset(&indirectBufferOffset); in drawArraysIndirect()
2775 ASSERT(indirectBuffer); in drawArraysIndirect()
[all …]
DContextVk.h755 vk::BufferHelper *indirectBuffer,
760 vk::BufferHelper *indirectBuffer,
772 vk::BufferHelper *indirectBuffer,
Dvk_helpers.h622 BufferHelper *indirectBuffer,
Dvk_helpers.cpp3259 BufferHelper *indirectBuffer, in streamIndicesIndirect() argument
3307 contextVk, indirectBuffer, destIndirectBuffer, destIndexBuffer, indexBuffer, params)); in streamIndicesIndirect()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp794 void setIndirectBuildParameters (const VkBuffer indirectBuffer,
930 …id BottomLevelAccelerationStructureKHR::setIndirectBuildParameters (const VkBuffer indirectBuffer, in setIndirectBuildParameters() argument
934 m_indirectBuffer = indirectBuffer; in setIndirectBuildParameters()
1596 void setIndirectBuildParameters (const VkBuffer indirectBuffer,
1729 void TopLevelAccelerationStructureKHR::setIndirectBuildParameters (const VkBuffer indirectBuffer, in setIndirectBuildParameters() argument
1733 m_indirectBuffer = indirectBuffer; in setIndirectBuildParameters()
DvkRayTracingUtil.hpp521 virtual void setIndirectBuildParameters (const VkBuffer indirectBuffer,
624 virtual void setIndirectBuildParameters (const VkBuffer indirectBuffer,
/external/angle/src/tests/gl_tests/
DMemoryBarrierTest.cpp1218 GLBuffer indirectBuffer; in commandBitBufferWriteThenIndirectRead() local
1221 createStorageBuffer(writeResource, indirectBuffer, indirectTextureBuffer, sizeof(kInitData), in commandBitBufferWriteThenIndirectRead()
1252 createIndirectVerifyProgram(indirectBuffer, &readProgram); in commandBitBufferWriteThenIndirectRead()
1277 GLBuffer indirectBuffer; in commandBitIndirectReadThenBufferWrite() local
1280 createStorageBuffer(writeResource, indirectBuffer, indirectTextureBuffer, sizeof(kInitData), in commandBitIndirectReadThenBufferWrite()
1285 createIndirectVerifyProgram(indirectBuffer, &readProgram); in commandBitIndirectReadThenBufferWrite()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSubpassDependencyTests.cpp1895 Move<VkBuffer> indirectBuffer; in iterateInternal() local
1953 indirectBuffer = createBuffer(vkd, device, &bufferCreateInfo); in iterateInternal()
1954 …ctBufferMemory = createBufferMemory(vkd, device, m_context.getDefaultAllocator(), *indirectBuffer); in iterateInternal()
1987 …VkDescriptorBufferInfo descIndirectBuffer = makeDescriptorBufferInfo(*indirectBuffer, 0, indirectB… in iterateInternal()
2186 vkd.cmdDrawIndirect(*commandBuffer, *indirectBuffer, 0u, 1u, 0u); in iterateInternal()
2202 vkd.cmdDrawIndirect(*commandBuffer, *indirectBuffer, 0u, 1u, 0u); in iterateInternal()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1909 Move<VkBuffer> indirectBuffer = createBuffer(*m_device, *m_logicalDevice, &bufferInfo); in draw() local
1910 …->allocate(getBufferMemoryRequirements(*m_device, *m_logicalDevice, *indirectBuffer), MemoryRequi… in draw()
1914 …VK_CHECK(m_device->bindBufferMemory(*m_logicalDevice, *indirectBuffer, allocationBuffer->getMemory… in draw()
1919 indirectBuffers[subpassNdx] = (BufferSP(new Unique<VkBuffer>(indirectBuffer))); in draw()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperation.cpp4365 const VkBuffer indirectBuffer, in GraphicsPipeline() argument
4369 , m_indirectBuffer (indirectBuffer) in GraphicsPipeline()
4475 const VkBuffer indirectBuffer, in ComputePipeline() argument
4478 : m_indirectBuffer (indirectBuffer) in ComputePipeline()