Lines Matching refs:heaps
464 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
469 device->memory.heaps[1] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
494 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
513 device->memory.heaps[0] = (struct anv_memory_heap) { in anv_physical_device_init_heaps()
2560 .size = physical_device->memory.heaps[i].size, in anv_GetPhysicalDeviceMemoryProperties()
2561 .flags = physical_device->memory.heaps[i].flags, in anv_GetPhysicalDeviceMemoryProperties()
2576 if (device->memory.heaps[i].is_local_mem) { in anv_get_memory_budget()
2577 total_vram_heaps_size += device->memory.heaps[i].size; in anv_get_memory_budget()
2579 total_sys_heaps_size += device->memory.heaps[i].size; in anv_get_memory_budget()
2584 VkDeviceSize heap_size = device->memory.heaps[i].size; in anv_get_memory_budget()
2585 VkDeviceSize heap_used = device->memory.heaps[i].used; in anv_get_memory_budget()
2589 if (device->memory.heaps[i].is_local_mem) { in anv_get_memory_budget()
3632 &pdevice->memory.heaps[mem_type->heapIndex]; in anv_AllocateMemory()
3955 p_atomic_add(&device->physical->memory.heaps[mem->type->heapIndex].used, in anv_FreeMemory()