Home
last modified time | relevance | path

Searched refs:physical_dev (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_physical_device.c29 vn_physical_device_init_features(struct vn_physical_device *physical_dev) in vn_physical_device_init_features() argument
31 struct vn_instance *instance = physical_dev->instance; in vn_physical_device_init_features()
60 physical_dev->features.sType = in vn_physical_device_init_features()
62 if (physical_dev->renderer_version >= VK_API_VERSION_1_2) { in vn_physical_device_init_features()
63 physical_dev->features.pNext = &physical_dev->vulkan_1_1_features; in vn_physical_device_init_features()
65 physical_dev->vulkan_1_1_features.sType = in vn_physical_device_init_features()
67 physical_dev->vulkan_1_1_features.pNext = in vn_physical_device_init_features()
68 &physical_dev->vulkan_1_2_features; in vn_physical_device_init_features()
69 physical_dev->vulkan_1_2_features.sType = in vn_physical_device_init_features()
71 physical_dev->vulkan_1_2_features.pNext = NULL; in vn_physical_device_init_features()
[all …]
Dvn_wsi.c70 struct vn_physical_device *physical_dev = in vn_wsi_proc_addr() local
73 &physical_dev->instance->base.base, pName); in vn_wsi_proc_addr()
77 vn_wsi_init(struct vn_physical_device *physical_dev) in vn_wsi_init() argument
80 &physical_dev->instance->base.base.alloc; in vn_wsi_init()
82 &physical_dev->wsi_device, vn_physical_device_to_handle(physical_dev), in vn_wsi_init()
83 vn_wsi_proc_addr, alloc, -1, &physical_dev->instance->dri_options, in vn_wsi_init()
88 if (physical_dev->base.base.supported_extensions in vn_wsi_init()
90 physical_dev->wsi_device.supports_modifiers = true; in vn_wsi_init()
92 physical_dev->base.base.wsi_device = &physical_dev->wsi_device; in vn_wsi_init()
98 vn_wsi_fini(struct vn_physical_device *physical_dev) in vn_wsi_fini() argument
[all …]
Dvn_wsi.h21 vn_wsi_init(struct vn_physical_device *physical_dev);
24 vn_wsi_fini(struct vn_physical_device *physical_dev);
43 vn_wsi_init(UNUSED struct vn_physical_device *physical_dev) in vn_wsi_init() argument
49 vn_wsi_fini(UNUSED struct vn_physical_device *physical_dev) in vn_wsi_fini() argument
Dvn_common.h261 struct vn_physical_device_base *physical_dev, in vn_physical_device_base_init() argument
267 vk_physical_device_init(&physical_dev->base, &instance->base, in vn_physical_device_base_init()
269 physical_dev->id = (uintptr_t)physical_dev; in vn_physical_device_base_init()
274 vn_physical_device_base_fini(struct vn_physical_device_base *physical_dev) in vn_physical_device_base_fini() argument
276 vk_physical_device_finish(&physical_dev->base); in vn_physical_device_base_fini()
281 struct vn_physical_device_base *physical_dev, in vn_device_base_init() argument
286 VkResult result = vk_device_init(&dev->base, &physical_dev->base, in vn_device_base_init()
Dvn_device.c170 const struct vn_physical_device *physical_dev = dev->physical_device; in vn_device_fix_create_info() local
188 physical_dev->renderer_extensions.EXT_image_drm_format_modifier) { in vn_device_fix_create_info()
192 if (physical_dev->renderer_version < VK_API_VERSION_1_2 && in vn_device_fix_create_info()
203 physical_dev->renderer_extensions.EXT_queue_family_foreign) { in vn_device_fix_create_info()
228 switch (physical_dev->external_memory.renderer_handle_type) { in vn_device_fix_create_info()
270 struct vn_physical_device *physical_dev = in vn_CreateDevice() local
272 struct vn_instance *instance = physical_dev->instance; in vn_CreateDevice()
288 result = vn_device_base_init(&dev->base, &physical_dev->base, in vn_CreateDevice()
296 dev->physical_device = physical_dev; in vn_CreateDevice()
Dvn_physical_device.h73 vn_physical_device_fini(struct vn_physical_device *physical_dev);
Dvn_pipeline.c186 struct vn_physical_device *physical_dev = dev->physical_device; in vn_GetPipelineCacheData() local
206 &physical_dev->properties.properties; in vn_GetPipelineCacheData()