Searched refs:indexAlloc (Results 1 – 2 of 2) sorted by relevance
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
D | vktBasicDrawTests.cpp | 806 de::MovePtr<vk::Allocation> indexAlloc; in iterate() local 808 …indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::Memor… in iterate() 809 …VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffse… in iterate() 811 deMemcpy(indexAlloc->getHostPtr(), &(m_data.indexes[0]), bufferSize); in iterate() 813 vk::flushAlloc(m_vk, vkDevice, *indexAlloc); in iterate() 1103 de::MovePtr<vk::Allocation> indexAlloc; in iterate() local 1105 …indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::Memor… in iterate() 1106 …VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffse… in iterate() 1108 deMemcpy(indexAlloc->getHostPtr(), &(m_data.indexes[0]), bufferSize); in iterate() 1110 vk::flushAlloc(m_vk, vkDevice, *indexAlloc); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkRayTracingUtil.cpp | 843 const Allocation& indexAlloc = indexBuffer->getAllocation(); in updateIndexBuffer() local 844 deUint8* bufferStart = static_cast<deUint8*>(indexAlloc.getHostPtr()); in updateIndexBuffer() 860 flushMappedMemoryRange(vk, device, indexAlloc.getMemory(), indexAlloc.getOffset(), VK_WHOLE_SIZE); in updateIndexBuffer()
|