Lines Matching refs:memReqs
65 VkMemoryRequirements memReqs; in AllocAndBindBufferMemory() local
66 GR_VK_CALL(iface, GetBufferMemoryRequirements(device, buffer, &memReqs)); in AllocAndBindBufferMemory()
74 memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
81 memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
93 memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
102 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
105 !get_valid_memory_type_index(phDevMemProps, memReqs.memoryTypeBits, in AllocAndBindBufferMemory()
107 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindBufferMemory()
149 VkMemoryRequirements memReqs; in AllocAndBindImageMemory() local
150 GR_VK_CALL(iface, GetImageMemoryRequirements(device, image, &memReqs)); in AllocAndBindImageMemory()
160 memReqs.memoryTypeBits, in AllocAndBindImageMemory()
166 memReqs.memoryTypeBits, in AllocAndBindImageMemory()
178 memReqs.memoryTypeBits, in AllocAndBindImageMemory()
182 if (memReqs.size <= kMaxSmallImageSize) { in AllocAndBindImageMemory()
190 if (!heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindImageMemory()
193 !get_valid_memory_type_index(phDevMemProps, memReqs.memoryTypeBits, in AllocAndBindImageMemory()
195 !heap->alloc(memReqs.size, memReqs.alignment, typeIndex, heapIndex, alloc)) { in AllocAndBindImageMemory()