Lines Matching defs:indexAlloc
973 de::MovePtr<vk::Allocation> indexAlloc;
975 indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::MemoryRequirement::HostVisible);
976 VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffset()));
978 deMemcpy(indexAlloc->getHostPtr(), &(m_data.indexes[0]), bufferSize);
980 vk::flushAlloc(m_vk, vkDevice, *indexAlloc);
1425 de::MovePtr<vk::Allocation> indexAlloc;
1427 indexAlloc = allocator.allocate(getBufferMemoryRequirements(vk, vkDevice, *indexBuffer), vk::MemoryRequirement::HostVisible);
1428 VK_CHECK(vk.bindBufferMemory(vkDevice, *indexBuffer, indexAlloc->getMemory(), indexAlloc->getOffset()));
1430 deMemcpy(indexAlloc->getHostPtr(), &(m_data.indexes[0]), bufferSize);
1432 vk::flushAlloc(m_vk, vkDevice, *indexAlloc);