Home
last modified time | relevance | path

Searched refs:mem_props (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_device_memory.c56 const VkPhysicalDeviceMemoryProperties *mem_props = in vn_device_memory_simple_alloc() local
58 const VkMemoryType *mem_type = &mem_props->memoryTypes[mem_type_index]; in vn_device_memory_simple_alloc()
232 const VkPhysicalDeviceMemoryProperties *mem_props = in vn_device_memory_import_dma_buf() local
235 mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags; in vn_device_memory_import_dma_buf()
313 const VkPhysicalDeviceMemoryProperties *mem_props = in vn_AllocateMemory() local
316 &mem_props->memoryTypes[pAllocateInfo->memoryTypeIndex]; in vn_AllocateMemory()
Dvn_physical_device.c2201 VkExternalMemoryProperties *mem_props = in vn_GetPhysicalDeviceImageFormatProperties2() local
2207 if (!(mem_props->externalMemoryFeatures & in vn_GetPhysicalDeviceImageFormatProperties2()
2212 mem_props->externalMemoryFeatures = in vn_GetPhysicalDeviceImageFormatProperties2()
2216 mem_props->exportFromImportedHandleTypes = in vn_GetPhysicalDeviceImageFormatProperties2()
2218 mem_props->compatibleHandleTypes = in vn_GetPhysicalDeviceImageFormatProperties2()
2232 mem_props->compatibleHandleTypes = supported_handle_types; in vn_GetPhysicalDeviceImageFormatProperties2()
2233 mem_props->exportFromImportedHandleTypes = in vn_GetPhysicalDeviceImageFormatProperties2()
2234 (mem_props->exportFromImportedHandleTypes & renderer_handle_type) in vn_GetPhysicalDeviceImageFormatProperties2()
Dvn_android.c1074 const VkPhysicalDeviceMemoryProperties *mem_props = in vn_android_device_allocate_ahb() local
1077 assert(alloc_info->memoryTypeIndex < mem_props->memoryTypeCount); in vn_android_device_allocate_ahb()
1082 if (mem_props->memoryTypes[alloc_info->memoryTypeIndex].propertyFlags & in vn_android_device_allocate_ahb()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.c134 for (uint32_t i = 0; i < screen->info.mem_props.memoryHeapCount; ++i) { in get_video_mem()
135 if (screen->info.mem_props.memoryHeaps[i].flags & in get_video_mem()
137 size += screen->info.mem_props.memoryHeaps[i].size; in get_video_mem()
293 unsigned heap_idx = screen->info.mem_props.memoryTypes[screen->heap_map[i]].heapIndex; in get_smallest_buffer_heap()
294 size = MIN2(screen->info.mem_props.memoryHeaps[heap_idx].size, size); in get_smallest_buffer_heap()
1718 for (unsigned i = 0; i < screen->info.mem_props.memoryHeapCount; i++) { in zink_query_memory_info()
1719 if (screen->info.mem_props.memoryHeaps[i].flags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) { in zink_query_memory_info()
1721 info->total_device_memory += screen->info.mem_props.memoryHeaps[i].size / 1024; in zink_query_memory_info()
1726 info->total_staging_memory += screen->info.mem_props.memoryHeaps[i].size / 1024; in zink_query_memory_info()
1998 for (unsigned j = 0; j < screen->info.mem_props.memoryTypeCount; j++) { in zink_internal_create_screen()
[all …]
Dzink_bo.c251 …if (screen->info.mem_props.memoryTypes[mai.memoryTypeIndex].propertyFlags & VK_MEMORY_PROPERTY_HOS… in bo_create_internal()
255 unsigned heap_idx = screen->info.mem_props.memoryTypes[screen->heap_map[heap]].heapIndex; in bo_create_internal()
256 if (mai.allocationSize > screen->info.mem_props.memoryHeaps[heap_idx].size) { in bo_create_internal()
257 … heap that's only %"PRIu64" bytes!\n", mai.allocationSize, screen->info.mem_props.memoryHeaps[heap… in bo_create_internal()
936 for (uint32_t i = 0; i < screen->info.mem_props.memoryHeapCount; ++i) in zink_bo_init()
937 total_mem += screen->info.mem_props.memoryHeaps[i].size; in zink_bo_init()
Dzink_resource.c629 VkMemoryType mem_type = screen->info.mem_props.memoryTypes[mai.memoryTypeIndex]; in resource_object_create()