Home
last modified time | relevance | path

Searched refs:ext_props (Results 1 – 5 of 5) sorted by relevance

/third_party/vulkan-loader/loader/
Dloader_linux.c276 VkExtensionProperties *ext_props = in linux_read_sorted_physical_devices() local
278 if (NULL == ext_props) { in linux_read_sorted_physical_devices()
283 &ext_count, ext_props); in linux_read_sorted_physical_devices()
285 … if (!strcmp(ext_props[ext].extensionName, VK_EXT_PCI_BUS_INFO_EXTENSION_NAME)) { in linux_read_sorted_physical_devices()
380 VkExtensionProperties *ext_props = in linux_sort_physical_device_groups() local
382 if (NULL == ext_props) { in linux_sort_physical_device_groups()
386 … sorted_group_term[group].internal_device_info[gpu].physical_device, NULL, &ext_count, ext_props); in linux_sort_physical_device_groups()
388 … if (!strcmp(ext_props[ext].extensionName, VK_EXT_PCI_BUS_INFO_EXTENSION_NAME)) { in linux_sort_physical_device_groups()
Dextension_manual.c349 VkExtensionProperties *ext_props = NULL; in terminator_GetPhysicalDeviceToolPropertiesEXT() local
358ext_props = loader_instance_heap_alloc(icd_term->this_instance, sizeof(VkExtensionProperties) * ex… in terminator_GetPhysicalDeviceToolPropertiesEXT()
360 if (!ext_props) { in terminator_GetPhysicalDeviceToolPropertiesEXT()
365 …>dispatch.EnumerateDeviceExtensionProperties(phys_dev_term->phys_dev, NULL, &ext_count, ext_props); in terminator_GetPhysicalDeviceToolPropertiesEXT()
371 …if (strncmp(ext_props[i].extensionName, VK_EXT_TOOLING_INFO_EXTENSION_NAME, VK_MAX_EXTENSION_NAME_… in terminator_GetPhysicalDeviceToolPropertiesEXT()
387 loader_instance_heap_free(icd_term->this_instance, ext_props); in terminator_GetPhysicalDeviceToolPropertiesEXT()
Dloader.c212 … struct loader_dev_ext_props *ext_props = &layer_properties->device_extension_list.list[i]; in loader_free_layer_properties() local
213 if (ext_props->entrypoint_count > 0) { in loader_free_layer_properties()
214 for (uint32_t j = 0; j < ext_props->entrypoint_count; j++) { in loader_free_layer_properties()
215 loader_instance_heap_free(inst, ext_props->entrypoints[j]); in loader_free_layer_properties()
217 loader_instance_heap_free(inst, ext_props->entrypoints); in loader_free_layer_properties()
534 VkExtensionProperties *ext_props; in loader_add_instance_extensions() local
554 ext_props = loader_stack_alloc(count * sizeof(VkExtensionProperties)); in loader_add_instance_extensions()
555 if (NULL == ext_props) { in loader_add_instance_extensions()
560 res = fp_get_props(NULL, &count, ext_props); in loader_add_instance_extensions()
568 bool ext_unsupported = wsi_unsupported_instance_extension(&ext_props[i]); in loader_add_instance_extensions()
[all …]
/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp186 uint32_t ext_props = 52; in TEST() local
188 layer.set_reported_extension_props(ext_props); in TEST()
192 ASSERT_EQ(count, ext_props); in TEST()
200 ASSERT_NE(count, ext_props); in TEST()
Dloader_regression_tests.cpp406 VkExtensionProperties ext_props{}; in TEST() local
407 ….vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &ext_count, &ext_props)); in TEST()