Lines Matching refs:heapIndex
23 uint32_t* heapIndex) { in get_valid_memory_type_index() argument
30 *heapIndex = physDevMemProps.memoryTypes[i].heapIndex; in get_valid_memory_type_index()
69 uint32_t heapIndex = 0; in AllocAndBindBufferMemory() local
79 &heapIndex)) { in AllocAndBindBufferMemory()
85 &heapIndex)); in AllocAndBindBufferMemory()
102 &heapIndex)); in AllocAndBindBufferMemory()
108 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
112 0, &typeIndex, &heapIndex) || in AllocAndBindBufferMemory()
113 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
159 uint32_t heapIndex = 0; in AllocAndBindImageMemory() local
170 &heapIndex)) { in AllocAndBindImageMemory()
176 &heapIndex)); in AllocAndBindImageMemory()
193 &heapIndex)); in AllocAndBindImageMemory()
202 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindImageMemory()
206 0, &typeIndex, &heapIndex) || in AllocAndBindImageMemory()
207 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindImageMemory()
502 GrVkSubHeap::GrVkSubHeap(const GrVkGpu* gpu, uint32_t memoryTypeIndex, uint32_t heapIndex, in GrVkSubHeap() argument
507 , fHeapIndex(heapIndex) in GrVkSubHeap()
527 gHeapUsage[heapIndex] += size; in GrVkSubHeap()
552 uint32_t memoryTypeIndex, uint32_t heapIndex, GrVkAlloc* alloc) { in subAlloc() argument
606 subHeap.reset(new GrVkSubHeap(fGpu, memoryTypeIndex, heapIndex, fSubHeapSize, alignment)); in subAlloc()
610 subHeap.reset(new GrVkSubHeap(fGpu, memoryTypeIndex, heapIndex, alignedSize, alignment)); in subAlloc()
625 uint32_t memoryTypeIndex, uint32_t heapIndex, GrVkAlloc* alloc) { in singleAlloc() argument
654 subHeap.reset(new GrVkSubHeap(fGpu, memoryTypeIndex, heapIndex, alignedSize, alignment)); in singleAlloc()