Home
last modified time | relevance | path

Searched refs:phys_dev (Results 1 - 25 of 37) sorted by relevance

12

/third_party/vulkan-loader/loader/
H A Dterminator.c46 icd_term->dispatch.GetPhysicalDeviceProperties(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceProperties()
56 icd_term->dispatch.GetPhysicalDeviceQueueFamilyProperties(phys_dev_term->phys_dev, pQueueFamilyPropertyCount, pProperties); in terminator_GetPhysicalDeviceQueueFamilyProperties()
65 icd_term->dispatch.GetPhysicalDeviceMemoryProperties(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceMemoryProperties()
74 icd_term->dispatch.GetPhysicalDeviceFeatures(phys_dev_term->phys_dev, pFeatures); in terminator_GetPhysicalDeviceFeatures()
83 icd_term->dispatch.GetPhysicalDeviceFormatProperties(phys_dev_term->phys_dev, format, pFormatInfo); in terminator_GetPhysicalDeviceFormatProperties()
99 return icd_term->dispatch.GetPhysicalDeviceImageFormatProperties(phys_dev_term->phys_dev, format, type, tiling, usage, flags, in terminator_GetPhysicalDeviceImageFormatProperties()
111 icd_term->dispatch.GetPhysicalDeviceSparseImageFormatProperties(phys_dev_term->phys_dev, format, type, samples, usage, in terminator_GetPhysicalDeviceSparseImageFormatProperties()
149 fpGetPhysicalDeviceFeatures2(phys_dev_term->phys_dev, pFeatures); in terminator_GetPhysicalDeviceFeatures2()
157 icd_term->dispatch.GetPhysicalDeviceFeatures(phys_dev_term->phys_dev, &pFeatures->features); in terminator_GetPhysicalDeviceFeatures2()
205 fpGetPhysicalDeviceProperties2(phys_dev_term->phys_dev, pPropertie in terminator_GetPhysicalDeviceProperties2()
[all...]
H A Dasm_offset.c43 __asm__("# PHYS_DEV_OFFSET_PHYS_DEV_TRAMP = %c0" : : "i"(offsetof(struct loader_physical_device_tramp, phys_dev))); in produce_asm_define()
45 __asm__("# PHYS_DEV_OFFSET_PHYS_DEV_TERM = %c0" : : "i"(offsetof(struct loader_physical_device_term, phys_dev))); in produce_asm_define()
57 static const uint32_t PHYS_DEV_OFFSET_PHYS_DEV_TRAMP = offsetof(struct loader_physical_device_tramp, phys_dev);
59 static const uint32_t PHYS_DEV_OFFSET_PHYS_DEV_TERM = offsetof(struct loader_physical_device_term, phys_dev);
108 { .name = "PHYS_DEV_OFFSET_PHYS_DEV_TRAMP", .value = offsetof(struct loader_physical_device_tramp, phys_dev), in main()
109 .comment = "The offset of 'phys_dev' within a 'loader_physical_device_tramp' struct" }, in main()
112 { .name = "PHYS_DEV_OFFSET_PHYS_DEV_TERM", .value = offsetof(struct loader_physical_device_term, phys_dev), in main()
113 .comment = "The offset of 'phys_dev' within a 'loader_physical_device_term' struct" }, in main()
H A Dextension_manual.c81 phys_dev_term->phys_dev, format, type, tiling, usage, flags, &pExternalImageFormatProperties->imageFormatProperties); in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV()
85 phys_dev_term->phys_dev, format, type, tiling, usage, flags, externalHandleType, pExternalImageFormatProperties); in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV()
120 return icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilities2EXT(phys_dev_term->phys_dev, unwrapped_surface, in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT()
131 icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilitiesKHR(phys_dev_term->phys_dev, unwrapped_surface, &surface_caps); in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT()
179 return icd_term->dispatch.ReleaseDisplayEXT(phys_dev_term->phys_dev, display); in terminator_ReleaseDisplayEXT()
204 return icd_term->dispatch.AcquireXlibDisplayEXT(phys_dev_term->phys_dev, dpy, display); in terminator_AcquireXlibDisplayEXT()
235 return icd_term->dispatch.GetRandROutputDisplayEXT(phys_dev_term->phys_dev, dpy, rrOutput, pDisplay); in terminator_GetRandROutputDisplayEXT()
284 return icd_term->dispatch.GetPhysicalDeviceSurfacePresentModes2EXT(phys_dev_term->phys_dev, &surface_info_copy, in terminator_GetPhysicalDeviceSurfacePresentModes2EXT()
287 return icd_term->dispatch.GetPhysicalDeviceSurfacePresentModes2EXT(phys_dev_term->phys_dev, pSurfaceInfo, pPresentModeCount, in terminator_GetPhysicalDeviceSurfacePresentModes2EXT()
365 enumerate_res = icd_term->dispatch.EnumerateDeviceExtensionProperties(phys_dev_term->phys_dev, NUL in terminator_GetPhysicalDeviceToolPropertiesEXT()
[all...]
H A Dwsi.c271 phys_dev_term->phys_dev, queueFamilyIndex, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pSupported); in terminator_GetPhysicalDeviceSurfaceSupportKHR()
274 return icd_term->dispatch.GetPhysicalDeviceSurfaceSupportKHR(phys_dev_term->phys_dev, queueFamilyIndex, surface, pSupported); in terminator_GetPhysicalDeviceSurfaceSupportKHR()
325 phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pSurfaceCapabilities); in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
328 return icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilitiesKHR(phys_dev_term->phys_dev, surface, pSurfaceCapabilities); in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
380 return icd_term->dispatch.GetPhysicalDeviceSurfaceFormatsKHR(phys_dev_term->phys_dev, in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
385 return icd_term->dispatch.GetPhysicalDeviceSurfaceFormatsKHR(phys_dev_term->phys_dev, surface, pSurfaceFormatCount, in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
439 phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pPresentModeCount, pPresentModes); in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
442 return icd_term->dispatch.GetPhysicalDeviceSurfacePresentModesKHR(phys_dev_term->phys_dev, surface, pPresentModeCount, in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
698 return icd_term->dispatch.GetPhysicalDeviceWin32PresentationSupportKHR(phys_dev_term->phys_dev, queueFamilyIndex); in terminator_GetPhysicalDeviceWin32PresentationSupportKHR()
819 return icd_term->dispatch.GetPhysicalDeviceWaylandPresentationSupportKHR(phys_dev_term->phys_dev, queueFamilyInde in terminator_GetPhysicalDeviceWaylandPresentationSupportKHR()
[all...]
H A Dloader.h40 struct loader_physical_device_tramp *phys_dev = (struct loader_physical_device_tramp *)physicalDevice; in loader_unwrap_physical_device() local
41 if (PHYS_TRAMP_MAGIC_NUMBER != phys_dev->magic) { in loader_unwrap_physical_device()
44 return phys_dev->phys_dev; in loader_unwrap_physical_device()
H A Dloader_linux.c254 for (uint32_t phys_dev = 0; phys_dev < icd_devices[icd_idx].device_count; ++phys_dev) { in linux_read_sorted_physical_devices()
258 sorted_device_info[index].physical_device = icd_devices[icd_idx].physical_devices[phys_dev]; in linux_read_sorted_physical_devices()
334 sorted_device_term[dev]->phys_dev = sorted_device_info[dev].physical_device; in linux_read_sorted_physical_devices()
H A Dloader_common.h396 VkPhysicalDevice phys_dev; // object from layers/loader terminator member
404 VkPhysicalDevice phys_dev; // object from ICD member
H A Dloader.c4374 struct loader_physical_device_tramp *phys_dev = (struct loader_physical_device_tramp *)physicalDevice;
4375 internal_device = phys_dev->phys_dev;
4376 inst = (struct loader_instance *)phys_dev->this_instance;
4885 for (uint32_t phys_dev = 0; phys_dev < cur_struct->physicalDeviceCount; phys_dev++) {
4886 cur_tramp = (struct loader_physical_device_tramp *)cur_struct->pPhysicalDevices[phys_dev];
4887 phys_dev_array[phys_dev] = cur_tramp->phys_dev;
[all...]
/third_party/vulkan-loader/tests/framework/icd/
H A Dtest_icd.h143 for (auto& phys_dev : physical_devices) { in GetPhysDevice()
144 if (phys_dev.vk_physical_device.handle == physicalDevice) return phys_dev; in GetPhysDevice()
166 auto const& phys_dev = physical_devices.at(p); in lookup_device() local
167 for (uint32_t d = 0; d < phys_dev.device_handles.size(); d++) { in lookup_device()
168 if (phys_dev.device_handles.at(d) == device) { in lookup_device()
H A Dtest_icd.cpp94 for (auto& phys_dev : icd.physical_devices) {
95 if (phys_dev.extensions.end() !=
96 std::find_if(phys_dev.extensions.begin(), phys_dev.extensions.end(),
427 auto& phys_dev = icd.GetPhysDevice(physicalDevice);
432 return FillCountPtr(phys_dev.extensions, pPropertyCount, pProperties);
439 auto& phys_dev = icd.GetPhysDevice(physicalDevice);
440 FillCountPtr(phys_dev.queue_family_properties, pQueueFamilyPropertyCount, pQueueFamilyProperties);
446 auto found = std::find_if(icd.physical_devices.begin(), icd.physical_devices.end(), [physicalDevice](PhysicalDevice& phys_dev) {
447 return phys_dev
[all...]
/third_party/vulkan-loader/tests/framework/layer/
H A Dwrap_objects.cpp115 VkPhysicalDevice unwrap_phys_dev(const VkPhysicalDevice physical_device, wrapped_phys_dev_obj **phys_dev) { in unwrap_phys_dev() argument
116 *phys_dev = reinterpret_cast<wrapped_phys_dev_obj *>(physical_device); in unwrap_phys_dev()
117 auto it = std::find(saved_wrapped_handles.physical_devices.begin(), saved_wrapped_handles.physical_devices.end(), *phys_dev); in unwrap_phys_dev()
119 : reinterpret_cast<VkPhysicalDevice>((*phys_dev)->obj); in unwrap_phys_dev()
416 wrapped_phys_dev_obj *phys_dev; in vkGetPhysicalDeviceProperties() local
417 auto vk_phys_dev = unwrap_phys_dev(physicalDevice, &phys_dev); in vkGetPhysicalDeviceProperties()
418 phys_dev->inst->layer_disp.GetPhysicalDeviceProperties(vk_phys_dev, pProperties); in vkGetPhysicalDeviceProperties()
424 wrapped_phys_dev_obj *phys_dev; in wrap_vkGetPhysicalDeviceQueueFamilyProperties() local
425 auto vk_phys_dev = unwrap_phys_dev(physicalDevice, &phys_dev); in wrap_vkGetPhysicalDeviceQueueFamilyProperties()
426 phys_dev in wrap_vkGetPhysicalDeviceQueueFamilyProperties()
434 wrapped_phys_dev_obj *phys_dev; wrap_vkEnumerateDeviceExtensionProperties() local
491 wrapped_phys_dev_obj *phys_dev; wrap_vkCreateDevice() local
583 wrapped_phys_dev_obj *phys_dev; wrap_vkDebugMarkerSetObjectTagEXT() local
605 wrapped_phys_dev_obj *phys_dev; wrap_vkDebugMarkerSetObjectNameEXT() local
631 wrapped_phys_dev_obj *phys_dev; wrap_vkSetDebugUtilsObjectNameEXT() local
652 wrapped_phys_dev_obj *phys_dev; wrap_vkSetDebugUtilsObjectTagEXT() local
[all...]
/third_party/vulkan-loader/tests/live_verification/
H A Ddynamic_rendering_get_proc_addr.cpp42 for (const auto& phys_dev : phys_devs) { in main()
44 VkResult res = vk_funcs.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &count, nullptr); in main()
49 res = vk_funcs.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &count, extensions.data()); in main()
64 dev.CheckCreate(phys_dev); in main()
/third_party/vulkan-loader/tests/
H A Dloader_unknown_ext_tests.cpp348 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
349 check_custom_functions(env.vulkan_functions, inst.inst, phys_dev, custom_physical_device_functions{}, function_names, in TEST()
443 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
444 check_layer_custom_functions_no_interception(env.vulkan_functions, inst.inst, phys_dev, layer, in TEST()
511 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
512 check_layer_custom_functions_no_implementation(env.vulkan_functions, inst.inst, phys_dev, layer, in TEST()
535 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
536 check_layer_custom_functions(env.vulkan_functions, inst.inst, phys_dev, layer, layer_intercept_physical_device_functions{}, in TEST()
571 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
573 check_layer_custom_functions(env.vulkan_functions, inst.inst, phys_dev, layer_ in TEST()
1118 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
1206 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
1238 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
1308 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
[all...]
H A Dloader_debug_ext_tests.cpp864 auto phys_dev = inst.GetPhysDev(); in CheckDeviceFunctions() local
877 dev.CheckCreate(phys_dev, VK_ERROR_EXTENSION_NOT_PRESENT); in CheckDeviceFunctions()
880 ASSERT_NO_FATAL_FAILURE(dev.CheckCreate(phys_dev)); in CheckDeviceFunctions()
952 obj_name_info.objectHandle = (uint64_t)(uintptr_t)phys_dev; in CheckDeviceFunctions()
967 utils_object_tag.objectHandle = (uint64_t)(uintptr_t)phys_dev; in CheckDeviceFunctions()
987 marker_object_tag.object = (uint64_t)(uintptr_t)phys_dev; in CheckDeviceFunctions()
1004 marker_object_name.object = (uint64_t)(uintptr_t)phys_dev; in CheckDeviceFunctions()
1161 auto phys_dev = inst.GetPhysDev(); in TEST() local
1164 device.CheckCreate(phys_dev); in TEST()
1176 info.objectHandle = (uint64_t)phys_dev; in TEST()
[all...]
H A Dloader_get_proc_addr_tests.cpp69 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
78 dev.CheckCreate(phys_dev); in TEST()
218 auto phys_dev = inst.GetPhysDev(); in TEST() local
221 ASSERT_NO_FATAL_FAILURE(dev.CheckCreate(phys_dev)); in TEST()
263 ASSERT_NO_FATAL_FAILURE(dev.CheckCreate(phys_dev)); in TEST()
317 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
320 dev.CheckCreate(phys_dev); in TEST()
H A Dloader_threading_tests.cpp45 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in create_destroy_instance_loop_with_function_queries() local
48 dev.CheckCreate(phys_dev); in create_destroy_instance_loop_with_function_queries()
H A Dloader_layer_tests.cpp2035 VkPhysicalDevice phys_dev{}; in TEST()
2036 res = layer.instance_dispatch_table.EnumeratePhysicalDevices(layer.instance_handle, &phys_dev_count, &phys_dev); in TEST()
2042 layer.instance_dispatch_table.GetPhysicalDeviceProperties2(phys_dev, &props2); in TEST()
2046 layer.instance_dispatch_table.GetPhysicalDeviceFeatures2(phys_dev, &features2); in TEST()
2070 VkPhysicalDevice phys_dev{}; in TEST()
2071 layer.instance_dispatch_table.EnumeratePhysicalDevices(layer.instance_handle, &phys_dev_count, &phys_dev); in TEST()
2075 layer.instance_dispatch_table.GetPhysicalDeviceProperties2KHR(phys_dev, &props2); in TEST()
2079 layer.instance_dispatch_table.GetPhysicalDeviceFeatures2KHR(phys_dev, &features2); in TEST()
2138 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
2141 dev.CheckCreate(phys_dev); in TEST()
2147 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
2156 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
2165 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
2910 VkPhysicalDevice phys_dev = inst2.GetPhysDev(); TEST() local
2951 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3009 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3046 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3083 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3113 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3146 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3181 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3217 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
4462 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
4488 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
[all...]
H A Dloader_regression_tests.cpp323 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
325 auto layer_props = inst.GetActiveLayers(phys_dev, 1); in TEST()
331 ASSERT_EQ(VK_INCOMPLETE, env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &layer_count, &layer_props)); in TEST()
399 auto phys_dev = inst.GetPhysDev(); in TEST() local
401 dev.CheckCreate(phys_dev); in TEST()
404 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &ext_count, nullptr)); in TEST()
407 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &ext_count, &ext_props)); in TEST()
1173 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
1178 dev.CheckCreate(phys_dev, VK_ERROR_EXTENSION_NOT_PRESENT); in TEST()
1191 VkPhysicalDevice phys_dev in TEST() local
1216 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
1246 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
1281 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
2670 auto phys_dev = inst.GetPhysDev(); TEST() local
2689 auto phys_dev = inst.GetPhysDev(); TEST() local
2713 auto phys_dev = inst.GetPhysDev(); TEST() local
3616 auto phys_dev = inst.GetPhysDev(); TEST() local
3696 auto phys_dev = inst.GetPhysDev(); TEST() local
3711 auto phys_dev = inst.GetPhysDev(); TEST() local
3725 auto phys_dev = inst.GetPhysDev(); TEST() local
3795 VkPhysicalDevice phys_dev = inst.GetPhysDev(); TEST() local
3886 auto phys_dev = inst.GetPhysDev(); TEST() local
[all...]
H A Dloader_version_tests.cpp165 for (auto& phys_dev : physical_device_handles) { in TEST()
166 phys_dev = reinterpret_cast<VkPhysicalDevice>(temp_ptr.get()); in TEST()
174 for (auto& phys_dev : physical_device_handles) { in TEST()
175 ASSERT_EQ(phys_dev, reinterpret_cast<VkPhysicalDevice>(temp_ptr.get())); in TEST()
637 auto phys_dev = inst.GetPhysDev(); in TEST() local
641 ASSERT_EQ(VK_SUCCESS, GetPhysicalDeviceToolProperties(phys_dev, &tool_count, nullptr)); in TEST()
644 ASSERT_EQ(VK_SUCCESS, GetPhysicalDeviceToolProperties(phys_dev, &tool_count, &props)); in TEST()
647 device.CheckCreate(phys_dev); in TEST()
/third_party/ffmpeg/libavfilter/
H A Dvulkan_filter.c88 vk->GetPhysicalDeviceProperties(s->hwctx->phys_dev, &s->props); in ff_vk_filter_config_input()
89 vk->GetPhysicalDeviceMemoryProperties(s->hwctx->phys_dev, &s->mprops); in ff_vk_filter_config_input()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_android.c224 struct radv_physical_device *phys_dev = device->physical_device; in radv_GetSwapchainGrallocUsageANDROID() local
225 VkPhysicalDevice phys_dev_h = radv_physical_device_to_handle(phys_dev); in radv_GetSwapchainGrallocUsageANDROID()
309 struct radv_physical_device *phys_dev = device->physical_device; in radv_GetSwapchainGrallocUsage2ANDROID() local
310 VkPhysicalDevice phys_dev_h = radv_physical_device_to_handle(phys_dev); in radv_GetSwapchainGrallocUsage2ANDROID()
/third_party/ffmpeg/libavutil/
H A Dhwcontext_vulkan.h63 VkPhysicalDevice phys_dev; member
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_android.c309 struct tu_physical_device *phys_dev = device->physical_device; in format_supported_with_usage() local
310 VkPhysicalDevice phys_dev_h = tu_physical_device_to_handle(phys_dev); in format_supported_with_usage()
H A Dtu_pass.c528 const struct tu_physical_device *phys_dev) in tu_render_pass_gmem_config()
548 uint32_t tile_align_w = phys_dev->info->tile_align_w; in tu_render_pass_gmem_config()
550 phys_dev->info->tile_align_h; in tu_render_pass_gmem_config()
594 ? phys_dev->gmem_size in tu_render_pass_gmem_config()
595 : phys_dev->ccu_offset_gmem; in tu_render_pass_gmem_config()
527 tu_render_pass_gmem_config(struct tu_render_pass *pass, const struct tu_physical_device *phys_dev) tu_render_pass_gmem_config() argument
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_android.c296 struct v3dv_physical_device *phys_dev = &device->instance->physicalDevice; in format_supported_with_usage() local
297 VkPhysicalDevice phys_dev_h = v3dv_physical_device_to_handle(phys_dev); in format_supported_with_usage()

Completed in 40 milliseconds

12