Home
last modified time | relevance | path

Searched refs:phys_dev (Results 1 – 25 of 33) sorted by relevance

12

/third_party/vulkan-loader/loader/
Dterminator.c44 icd_term->dispatch.GetPhysicalDeviceProperties(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceProperties()
54 …icd_term->dispatch.GetPhysicalDeviceQueueFamilyProperties(phys_dev_term->phys_dev, pQueueFamilyPro… in terminator_GetPhysicalDeviceQueueFamilyProperties()
63 icd_term->dispatch.GetPhysicalDeviceMemoryProperties(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceMemoryProperties()
72 icd_term->dispatch.GetPhysicalDeviceFeatures(phys_dev_term->phys_dev, pFeatures); in terminator_GetPhysicalDeviceFeatures()
81 …icd_term->dispatch.GetPhysicalDeviceFormatProperties(phys_dev_term->phys_dev, format, pFormatInfo); in terminator_GetPhysicalDeviceFormatProperties()
97 …return icd_term->dispatch.GetPhysicalDeviceImageFormatProperties(phys_dev_term->phys_dev, format, … in terminator_GetPhysicalDeviceImageFormatProperties()
109 …icd_term->dispatch.GetPhysicalDeviceSparseImageFormatProperties(phys_dev_term->phys_dev, format, t… in terminator_GetPhysicalDeviceSparseImageFormatProperties()
145 fpGetPhysicalDeviceFeatures2(phys_dev_term->phys_dev, pFeatures); in terminator_GetPhysicalDeviceFeatures2()
153 icd_term->dispatch.GetPhysicalDeviceFeatures(phys_dev_term->phys_dev, &pFeatures->features); in terminator_GetPhysicalDeviceFeatures2()
201 fpGetPhysicalDeviceProperties2(phys_dev_term->phys_dev, pProperties); in terminator_GetPhysicalDeviceProperties2()
[all …]
Dextension_manual.c81 …phys_dev_term->phys_dev, format, type, tiling, usage, flags, &pExternalImageFormatProperties->imag… in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV()
85 …phys_dev_term->phys_dev, format, type, tiling, usage, flags, externalHandleType, pExternalImageFor… in terminator_GetPhysicalDeviceExternalImageFormatPropertiesNV()
120 …return icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilities2EXT(phys_dev_term->phys_dev, unwrap… in terminator_GetPhysicalDeviceSurfaceCapabilities2EXT()
131 …icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilitiesKHR(phys_dev_term->phys_dev, unwrapped_surf… 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, pDispla… in terminator_GetRandROutputDisplayEXT()
284 …return icd_term->dispatch.GetPhysicalDeviceSurfacePresentModes2EXT(phys_dev_term->phys_dev, &surfa… in terminator_GetPhysicalDeviceSurfacePresentModes2EXT()
287 …return icd_term->dispatch.GetPhysicalDeviceSurfacePresentModes2EXT(phys_dev_term->phys_dev, pSurfa… in terminator_GetPhysicalDeviceSurfacePresentModes2EXT()
353 …enumerate_res = icd_term->dispatch.EnumerateDeviceExtensionProperties(phys_dev_term->phys_dev, NUL… in terminator_GetPhysicalDeviceToolPropertiesEXT()
[all …]
Dwsi.c271 …phys_dev_term->phys_dev, queueFamilyIndex, icd_surface->real_icd_surfaces[phys_dev_term->icd_index… in terminator_GetPhysicalDeviceSurfaceSupportKHR()
274 …return icd_term->dispatch.GetPhysicalDeviceSurfaceSupportKHR(phys_dev_term->phys_dev, queueFamilyI… in terminator_GetPhysicalDeviceSurfaceSupportKHR()
325 …phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pSurfaceCapabil… in terminator_GetPhysicalDeviceSurfaceCapabilitiesKHR()
328 …return icd_term->dispatch.GetPhysicalDeviceSurfaceCapabilitiesKHR(phys_dev_term->phys_dev, surface… 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, pSu… in terminator_GetPhysicalDeviceSurfaceFormatsKHR()
439 …phys_dev_term->phys_dev, icd_surface->real_icd_surfaces[phys_dev_term->icd_index], pPresentModeCou… in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
442 …return icd_term->dispatch.GetPhysicalDeviceSurfacePresentModesKHR(phys_dev_term->phys_dev, surface… in terminator_GetPhysicalDeviceSurfacePresentModesKHR()
673 …return icd_term->dispatch.GetPhysicalDeviceWin32PresentationSupportKHR(phys_dev_term->phys_dev, qu… in terminator_GetPhysicalDeviceWin32PresentationSupportKHR()
795 …>dispatch.GetPhysicalDeviceWaylandPresentationSupportKHR(phys_dev_term->phys_dev, queueFamilyIndex… in terminator_GetPhysicalDeviceWaylandPresentationSupportKHR()
[all …]
Dloader.h38 …struct loader_physical_device_tramp *phys_dev = (struct loader_physical_device_tramp *)physicalDev… in LOADER_PLATFORM_THREAD_ONCE_EXTERN_DEFINITION() local
39 if (PHYS_TRAMP_MAGIC_NUMBER != phys_dev->magic) { in LOADER_PLATFORM_THREAD_ONCE_EXTERN_DEFINITION()
42 return phys_dev->phys_dev; in LOADER_PLATFORM_THREAD_ONCE_EXTERN_DEFINITION()
Dasm_offset.c66 …"PHYS_DEV_OFFSET_PHYS_DEV_TRAMP", .value = offsetof(struct loader_physical_device_tramp, phys_dev), in main()
70 …= "PHYS_DEV_OFFSET_PHYS_DEV_TERM", .value = offsetof(struct loader_physical_device_term, phys_dev), in main()
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() local
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()
Dloader_common.h377 VkPhysicalDevice phys_dev; // object from layers/loader terminator member
385 VkPhysicalDevice phys_dev; // object from ICD member
Dloader.c4157 …struct loader_physical_device_tramp *phys_dev = (struct loader_physical_device_tramp *)physicalDev… in loader_layer_create_device() local
4158 internal_device = phys_dev->phys_dev; in loader_layer_create_device()
4159 inst = (struct loader_instance *)phys_dev->this_instance; in loader_layer_create_device()
4652 … for (uint32_t phys_dev = 0; phys_dev < cur_struct->physicalDeviceCount; phys_dev++) { in loader_create_device_chain() local
4653 … cur_tramp = (struct loader_physical_device_tramp *)cur_struct->pPhysicalDevices[phys_dev]; in loader_create_device_chain()
4654 phys_dev_array[phys_dev] = cur_tramp->phys_dev; in loader_create_device_chain()
5463 … phys_dev_term->phys_dev, icd_term->scanned_icd->lib_name, &icd_exts); in terminator_CreateDevice()
5506 … for (uint32_t phys_dev = 0; phys_dev < cur_struct->physicalDeviceCount; phys_dev++) { in terminator_CreateDevice() local
5507 … cur_term = (struct loader_physical_device_term *)cur_struct->pPhysicalDevices[phys_dev]; in terminator_CreateDevice()
5508 phys_dev_array[phys_dev] = cur_term->phys_dev; in terminator_CreateDevice()
[all …]
/third_party/vulkan-loader/tests/
Dloader_layer_tests.cpp374 auto phys_dev = inst.GetPhysDev(); in TEST() local
376 env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &count, nullptr); in TEST()
383 auto phys_dev = inst.GetPhysDev(); in TEST() local
385 env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &count, nullptr); in TEST()
388 env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &count, layer_props.data()); in TEST()
550 auto phys_dev = inst.GetPhysDev(); in TEST() local
554 …env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, meta_layer_name, &extension_co… in TEST()
557 …EXPECT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, meta_lay… in TEST()
569 auto phys_dev = inst.GetPhysDev(); in TEST() local
574 …env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, meta_layer_name, &extension_co… in TEST()
[all …]
Dloader_unknown_ext_tests.cpp357 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
358 …check_custom_functions(env.vulkan_functions, inst.inst, phys_dev, custom_physical_device_functions… in TEST()
476 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
477 check_layer_custom_functions_no_interception(env.vulkan_functions, inst.inst, phys_dev, layer, in TEST()
558 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
559 check_layer_custom_functions_no_implementation(env.vulkan_functions, inst.inst, phys_dev, layer, in TEST()
587 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
588 …check_layer_custom_functions(env.vulkan_functions, inst.inst, phys_dev, layer, layer_intercept_phy… in TEST()
627 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
629 check_layer_custom_functions(env.vulkan_functions, inst.inst, phys_dev, layer_0, in TEST()
[all …]
Dloader_threading_tests.cpp45 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in create_destroy_instance_loop_with_function_queries() local
49 dev.CheckCreate(phys_dev); in create_destroy_instance_loop_with_function_queries()
61 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in create_destroy_device_loop() local
65 dev.CheckCreate(phys_dev); in create_destroy_device_loop()
Dloader_regression_tests.cpp310 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
314 …ASSERT_EQ(env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &layer_count, nullptr), … in TEST()
317 …ASSERT_EQ(env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &layer_count, &layer_pro… in TEST()
324 …ASSERT_EQ(VK_INCOMPLETE, env.vulkan_functions.vkEnumerateDeviceLayerProperties(phys_dev, &layer_co… 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,… in TEST()
407 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr,… in TEST()
920 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
923 inst->vkGetPhysicalDeviceQueueFamilyProperties(phys_dev, &familyCount, nullptr); in TEST()
[all …]
Dloader_get_proc_addr_tests.cpp71 VkPhysicalDevice phys_dev = inst.GetPhysDev(); in TEST() local
82 dev.CheckCreate(phys_dev); in TEST()
Dloader_version_tests.cpp171 for (auto& phys_dev : physical_device_handles) { in TEST() local
172 phys_dev = reinterpret_cast<VkPhysicalDevice>(temp_ptr.get()); in TEST()
180 for (auto& phys_dev : physical_device_handles) { in TEST() local
181 ASSERT_EQ(phys_dev, reinterpret_cast<VkPhysicalDevice>(temp_ptr.get())); in TEST()
641 auto phys_dev = inst.GetPhysDev(); in TEST() local
646 ASSERT_EQ(VK_SUCCESS, GetPhysicalDeviceToolProperties(phys_dev, &tool_count, nullptr)); in TEST()
649 ASSERT_EQ(VK_SUCCESS, GetPhysicalDeviceToolProperties(phys_dev, &tool_count, &props)); in TEST()
652 device.CheckCreate(phys_dev); in TEST()
/third_party/vulkan-loader/tests/framework/icd/
Dtest_icd.cpp86 for (auto& phys_dev : icd.physical_devices) { in IsPhysicalDeviceExtensionAvailable() local
87 if (phys_dev.extensions.end() != in IsPhysicalDeviceExtensionAvailable()
88 std::find_if(phys_dev.extensions.begin(), phys_dev.extensions.end(), in IsPhysicalDeviceExtensionAvailable()
343 auto& phys_dev = icd.GetPhysDevice(physicalDevice); in test_vkEnumerateDeviceExtensionProperties() local
348 return FillCountPtr(phys_dev.extensions, pPropertyCount, pProperties); in test_vkEnumerateDeviceExtensionProperties()
355 auto& phys_dev = icd.GetPhysDevice(physicalDevice); in test_vkGetPhysicalDeviceQueueFamilyProperties() local
356 … FillCountPtr(phys_dev.queue_family_properties, pQueueFamilyPropertyCount, pQueueFamilyProperties); in test_vkGetPhysicalDeviceQueueFamilyProperties()
362 ….physical_devices.begin(), icd.physical_devices.end(), [physicalDevice](PhysicalDevice& phys_dev) { in test_vkCreateDevice() argument
363 return phys_dev.vk_physical_device.handle == physicalDevice; in test_vkCreateDevice()
743 auto& phys_dev = icd.GetPhysDevice(physicalDevice); in test_vkGetPhysicalDeviceSurfaceFormats2KHR() local
[all …]
Dtest_icd.h99 for (auto& phys_dev : physical_devices) { in GetPhysDevice()
100 if (phys_dev.vk_physical_device.handle == physicalDevice) return phys_dev; in GetPhysDevice()
/third_party/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp100 …alDevice unwrap_phys_dev(const VkPhysicalDevice physical_device, wrapped_phys_dev_obj **phys_dev) { in unwrap_phys_dev() argument
101 *phys_dev = reinterpret_cast<wrapped_phys_dev_obj *>(physical_device); in unwrap_phys_dev()
102 return reinterpret_cast<VkPhysicalDevice>((*phys_dev)->obj); in unwrap_phys_dev()
390 wrapped_phys_dev_obj *phys_dev; in vkGetPhysicalDeviceProperties() local
391 auto vk_phys_dev = unwrap_phys_dev(physicalDevice, &phys_dev); in vkGetPhysicalDeviceProperties()
392 phys_dev->inst->layer_disp.GetPhysicalDeviceProperties(vk_phys_dev, pProperties); in vkGetPhysicalDeviceProperties()
398 wrapped_phys_dev_obj *phys_dev; in wrap_vkGetPhysicalDeviceQueueFamilyProperties() local
399 auto vk_phys_dev = unwrap_phys_dev(physicalDevice, &phys_dev); in wrap_vkGetPhysicalDeviceQueueFamilyProperties()
400phys_dev->inst->layer_disp.GetPhysicalDeviceQueueFamilyProperties(vk_phys_dev, pQueueFamilyPropert… in wrap_vkGetPhysicalDeviceQueueFamilyProperties()
408 wrapped_phys_dev_obj *phys_dev; in wrap_vkEnumerateDeviceExtensionProperties() local
[all …]
/third_party/vulkan-loader/tests/live_verification/
Ddynamic_rendering_get_proc_addr.cpp42 for (const auto& phys_dev : phys_devs) { in main() local
43 auto extensions = EnumerateDeviceExtensions(inst, phys_dev); in main()
54 dev.CheckCreate(phys_dev); in main()
/third_party/mesa3d/src/amd/vulkan/
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/
Dhwcontext_vulkan.h51 VkPhysicalDevice phys_dev; member
Dhwcontext_vulkan.c234 vkGetPhysicalDeviceFormatProperties2(hwctx->phys_dev, fmt[i], &prop); in pixfmt_is_supported()
385 vkEnumerateDeviceExtensionProperties(hwctx->phys_dev, NULL, in check_extensions()
390 vkEnumerateDeviceExtensionProperties(hwctx->phys_dev, NULL, in check_extensions()
674 hwctx->phys_dev = devices[choice]; in find_device()
693 vkGetPhysicalDeviceQueueFamilyProperties(hwctx->phys_dev, &num, NULL); in search_queue_families()
705 vkGetPhysicalDeviceQueueFamilyProperties(hwctx->phys_dev, &num, qs); in search_queue_families()
1048 vkGetPhysicalDeviceFeatures(hwctx->phys_dev, &dev_features); in vulkan_device_create_internal()
1070 ret = vkCreateDevice(hwctx->phys_dev, &dev_info, hwctx->alloc, in vulkan_device_create_internal()
1122 vkGetPhysicalDeviceProperties2(hwctx->phys_dev, &p->props); in vulkan_device_init()
1136 vkGetPhysicalDeviceQueueFamilyProperties(hwctx->phys_dev, &queue_num, NULL); in vulkan_device_init()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
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()
/third_party/mesa3d/src/freedreno/vulkan/
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()
Dtu_pass.c528 const struct tu_physical_device *phys_dev) in tu_render_pass_gmem_config() argument
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()
Dtu_cmd_buffer.c173 struct tu_physical_device *phys_dev = cmd_buffer->device->physical_device; in tu_emit_cache_flush_ccu() local
177 phys_dev->ccu_offset_gmem : in tu_emit_cache_flush_ccu()
178 phys_dev->ccu_offset_bypass, in tu_emit_cache_flush_ccu()
407 struct tu_physical_device *phys_dev = cmd->device->physical_device; in tu6_emit_blit_scissor() local
426 x1 = x1 & ~(phys_dev->info->gmem_align_w - 1); in tu6_emit_blit_scissor()
427 y1 = y1 & ~(phys_dev->info->gmem_align_h - 1); in tu6_emit_blit_scissor()
428 x2 = ALIGN_POT(x2 + 1, phys_dev->info->gmem_align_w) - 1; in tu6_emit_blit_scissor()
429 y2 = ALIGN_POT(y2 + 1, phys_dev->info->gmem_align_h) - 1; in tu6_emit_blit_scissor()
802 const struct tu_physical_device *phys_dev = dev->physical_device; in tu6_init_hw() local
826 A6XX_RB_CCU_CNTL(.color_offset = phys_dev->ccu_offset_bypass)); in tu6_init_hw()
[all …]

12