Searched refs:mem_type_index (Results 1 - 3 of 3) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/virtio/vulkan/
H A Dvn_device_memory.h44 vn_device_memory_pool_fini(struct vn_device *dev, uint32_t mem_type_index);
H A Dvn_device_memory.c26 uint32_t mem_type_index,
47 .memoryTypeIndex = mem_type_index,
58 const VkMemoryType *mem_type = &mem_props->memoryTypes[mem_type_index];
92 vn_device_memory_pool_fini(struct vn_device *dev, uint32_t mem_type_index) argument
94 struct vn_device_memory_pool *pool = &dev->memory_pools[mem_type_index];
102 uint32_t mem_type_index,
107 vn_device_memory_simple_alloc(dev, mem_type_index, size, &mem);
111 struct vn_device_memory_pool *pool = &dev->memory_pools[mem_type_index];
130 uint32_t mem_type_index,
141 struct vn_device_memory_pool *pool = &dev->memory_pools[mem_type_index];
25 vn_device_memory_simple_alloc(struct vn_device * dev,uint32_t mem_type_index,VkDeviceSize size,struct vn_device_memory ** out_mem) argument
101 vn_device_memory_pool_grow_locked(struct vn_device * dev,uint32_t mem_type_index,VkDeviceSize size) argument
129 vn_device_memory_pool_alloc(struct vn_device * dev,uint32_t mem_type_index,VkDeviceSize size,struct vn_device_memory ** base_mem,struct vn_renderer_bo ** base_bo,VkDeviceSize * base_offset) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_device.c3181 enum radv_mem_type mem_type_index = device->physical_device->mem_type_indices[pAllocateInfo->memoryTypeIndex]; local in function:radv_alloc_memory
3246 assert(mem_type_index == RADV_MEM_TYPE_GTT_CACHED);
3258 if (mem_type_index == RADV_MEM_TYPE_GTT_WRITE_COMBINE ||
3259 mem_type_index == RADV_MEM_TYPE_GTT_CACHED)
3264 if (mem_type_index == RADV_MEM_TYPE_VRAM)
3269 if (mem_type_index == RADV_MEM_TYPE_GTT_WRITE_COMBINE)
3286 mem->type_index = mem_type_index;

Completed in 8 milliseconds