Lines Matching refs:heaps
431 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
440 device->memory.heaps[1] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
450 device->memory.heaps[2] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
480 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
499 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
2748 .size = physical_device->memory.heaps[i].size, in anv_GetPhysicalDeviceMemoryProperties()
2749 .flags = physical_device->memory.heaps[i].flags, in anv_GetPhysicalDeviceMemoryProperties()
2767 if (device->memory.heaps[i].is_local_mem) { in anv_get_memory_budget()
2768 total_vram_heaps_size += device->memory.heaps[i].size; in anv_get_memory_budget()
2770 total_sys_heaps_size += device->memory.heaps[i].size; in anv_get_memory_budget()
2775 VkDeviceSize heap_size = device->memory.heaps[i].size; in anv_get_memory_budget()
2776 VkDeviceSize heap_used = device->memory.heaps[i].used; in anv_get_memory_budget()
2780 if (device->memory.heaps[i].is_local_mem) { in anv_get_memory_budget()
3800 &pdevice->memory.heaps[mem_type->heapIndex]; in anv_AllocateMemory()
4128 p_atomic_add(&device->physical->memory.heaps[mem->type->heapIndex].used, in anv_FreeMemory()