Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryAllocationTests.cpp564 vector<size_t> nonEmptyHeaps; in iterate() local
581 nonEmptyHeaps.push_back(heapNdx); in iterate()
591 if (nonEmptyHeaps.empty()) in iterate()
605 else if (!nonEmptyHeaps.empty() && in iterate()
610 else if (nonEmptyHeaps.empty()) in iterate()
665 const size_t nonEmptyHeapNdx = (size_t)(m_rng.getUint32() % (deUint32)nonEmptyHeaps.size()); in iterate()
666 const size_t heapNdx = nonEmptyHeaps[nonEmptyHeapNdx]; in iterate()
DvktMemoryMappingTests.cpp1420 vector<MemoryHeap*> nonEmptyHeaps; in iterate() local
1435 nonEmptyHeaps.push_back(heapIter->get()); in iterate()
1448 nonEmptyHeaps.push_back(heapIter->get()); in iterate()
1452 if (!nonFullHeaps.empty() && (nonEmptyHeaps.empty() || m_rng.getFloat() < allocProbability)) in iterate()
1466 MemoryHeap* const heap = m_rng.choose<MemoryHeap*>(nonEmptyHeaps.begin(), nonEmptyHeaps.end()); in iterate()