Home
last modified time | relevance | path

Searched refs:indexAlloc (Results 1 – 2 of 2) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktBasicDrawTests.cpp772 de::MovePtr<vk::Allocation> indexAlloc; in iterate() local
774indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::Memor… in iterate()
775 …VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffse… in iterate()
777 deMemcpy(indexAlloc->getHostPtr(), &(m_data.indexes[0]), bufferSize); in iterate()
779 vk::flushAlloc(m_vk, vkDevice, *indexAlloc); in iterate()
1069 de::MovePtr<vk::Allocation> indexAlloc; in iterate() local
1071indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::Memor… in iterate()
1072 …VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffse… in iterate()
1074 deMemcpy(indexAlloc->getHostPtr(), &(m_data.indexes[0]), bufferSize); in iterate()
1076 vk::flushAlloc(m_vk, vkDevice, *indexAlloc); in iterate()
/external/deqp/external/vulkancts/framework/vulkan/
DvkRayTracingUtil.cpp756 const Allocation& indexAlloc = indexBuffer->getAllocation(); in updateIndexBuffer() local
757 deUint8* bufferStart = static_cast<deUint8*>(indexAlloc.getHostPtr()); in updateIndexBuffer()
773 flushMappedMemoryRange(vk, device, indexAlloc.getMemory(), indexAlloc.getOffset(), VK_WHOLE_SIZE); in updateIndexBuffer()