/third_party/mesa3d/src/amd/vulkan/ |
D | radv_wsi.c | 51 radv_init_wsi(struct radv_physical_device *physical_device) in radv_init_wsi() argument 54 wsi_device_init(&physical_device->wsi_device, radv_physical_device_to_handle(physical_device), in radv_init_wsi() 55 radv_wsi_proc_addr, &physical_device->instance->vk.alloc, in radv_init_wsi() 56 physical_device->master_fd, &physical_device->instance->dri_options, false); in radv_init_wsi() 60 physical_device->wsi_device.supports_modifiers = physical_device->rad_info.chip_class >= GFX9; in radv_init_wsi() 61 physical_device->wsi_device.set_memory_ownership = radv_wsi_set_memory_ownership; in radv_init_wsi() 63 physical_device->vk.wsi_device = &physical_device->wsi_device; in radv_init_wsi() 69 radv_finish_wsi(struct radv_physical_device *physical_device) in radv_finish_wsi() argument 71 physical_device->vk.wsi_device = NULL; in radv_finish_wsi() 72 wsi_device_finish(&physical_device->wsi_device, &physical_device->instance->vk.alloc); in radv_finish_wsi() [all …]
|
D | si_cmd_buffer.c | 36 si_write_harvested_raster_configs(struct radv_physical_device *physical_device, in si_write_harvested_raster_configs() argument 40 unsigned num_se = MAX2(physical_device->rad_info.max_se, 1); in si_write_harvested_raster_configs() 44 ac_get_harvested_configs(&physical_device->rad_info, raster_config, &raster_config_1, in si_write_harvested_raster_configs() 49 if (physical_device->rad_info.chip_class < GFX7) in si_write_harvested_raster_configs() 61 if (physical_device->rad_info.chip_class < GFX7) in si_write_harvested_raster_configs() 70 if (physical_device->rad_info.chip_class >= GFX7) in si_write_harvested_raster_configs() 83 S_00B834_DATA(device->physical_device->rad_info.address32_hi >> 8)); in si_emit_compute() 91 if (device->physical_device->rad_info.chip_class >= GFX7) { in si_emit_compute() 106 if (device->physical_device->rad_info.chip_class >= GFX9) { in si_emit_compute() 108 device->physical_device->rad_info.chip_class >= GFX10 ? 0x20 : 0); in si_emit_compute() [all …]
|
D | radv_sqtt.c | 42 return device->physical_device->rad_info.cu_mask[se][0] == 0; in radv_se_is_disabled() 54 if (device->physical_device->rad_info.chip_class == GFX10_3) in gfx10_get_thread_trace_ctrl() 65 struct radeon_info *rad_info = &device->physical_device->rad_info; in radv_emit_thread_trace_start() 72 int first_active_cu = ffs(device->physical_device->rad_info.cu_mask[se][0]); in radv_emit_thread_trace_start() 82 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_emit_thread_trace_start() 134 if (device->physical_device->rad_info.chip_class < GFX9) { in radv_emit_thread_trace_start() 153 if (device->physical_device->rad_info.chip_class == GFX9) { in radv_emit_thread_trace_start() 165 if (device->physical_device->rad_info.chip_class == GFX9) { in radv_emit_thread_trace_start() 181 device->physical_device->rad_info.chip_class >= GFX7) { in radv_emit_thread_trace_start() 213 if (device->physical_device->rad_info.chip_class >= GFX10) { in radv_copy_thread_trace_info_regs() [all …]
|
D | radv_image.c | 59 device->physical_device->rad_info.chip_class <= GFX8) { in radv_choose_tiling() 77 if (device->physical_device->rad_info.chip_class < GFX8) in radv_use_tc_compat_htile_for_image() 93 if (device->physical_device->rad_info.chip_class < GFX9) { in radv_use_tc_compat_htile_for_image() 117 if (device->physical_device->rad_info.chip_class >= GFX9) in radv_surface_has_scanout() 237 if (device->physical_device->rad_info.chip_class < GFX8) in radv_use_dcc_for_image_early() 254 (device->physical_device->rad_info.chip_class < GFX10 || in radv_use_dcc_for_image_early() 276 if (device->physical_device->rad_info.chip_class < GFX10) { in radv_use_dcc_for_image_early() 278 if (pCreateInfo->samples > 1 && !device->physical_device->dcc_msaa_allowed) in radv_use_dcc_for_image_early() 283 device->physical_device->rad_info.chip_class == GFX9) in radv_use_dcc_for_image_early() 287 return radv_are_formats_dcc_compatible(device->physical_device, pCreateInfo->pNext, format, in radv_use_dcc_for_image_early() [all …]
|
D | radv_formats.c | 553 radv_is_storage_image_format_supported(struct radv_physical_device *physical_device, in radv_is_storage_image_format_supported() argument 602 return physical_device->rad_info.chip_class >= GFX10_3; in radv_is_storage_image_format_supported() 686 radv_device_supports_etc(struct radv_physical_device *physical_device) in radv_device_supports_etc() argument 688 return physical_device->rad_info.family == CHIP_VEGA10 || in radv_device_supports_etc() 689 physical_device->rad_info.family == CHIP_RAVEN || in radv_device_supports_etc() 690 physical_device->rad_info.family == CHIP_RAVEN2 || in radv_device_supports_etc() 691 physical_device->rad_info.family == CHIP_STONEY; in radv_device_supports_etc() 695 radv_physical_device_get_format_properties(struct radv_physical_device *physical_device, in radv_physical_device_get_format_properties() argument 711 if (desc->layout == UTIL_FORMAT_LAYOUT_ETC && !radv_device_supports_etc(physical_device)) { in radv_physical_device_get_format_properties() 738 if (radv_is_storage_image_format_supported(physical_device, format)) { in radv_physical_device_get_format_properties() [all …]
|
D | radv_pipeline.c | 220 if (device->physical_device->use_ngg_culling) in radv_get_hash_flags() 224 if (device->physical_device->cs_wave_size == 32) in radv_get_hash_flags() 226 if (device->physical_device->ps_wave_size == 32) in radv_get_hash_flags() 228 if (device->physical_device->ge_wave_size == 32) in radv_get_hash_flags() 230 if (device->physical_device->use_llvm) in radv_get_hash_flags() 255 MIN2(max_stage_waves, 4 * device->physical_device->rad_info.num_good_compute_units * in radv_pipeline_init_scratch() 424 bool use_rbplus = device->physical_device->rad_info.rbplus_allowed; in radv_choose_spi_color_format() 763 if (pipeline->device->physical_device->rad_info.has_rbplus) { in radv_pipeline_init_blend_state() 924 if (!pipeline->device->physical_device->out_of_order_rast_allowed) in radv_pipeline_out_of_order_rast() 1032 unsigned num_tile_pipes = pipeline->device->physical_device->rad_info.num_tile_pipes; in radv_pipeline_init_multisample_state() [all …]
|
D | radv_debug.c | 85 ac_vm_fault_occured(device->physical_device->rad_info.chip_class, &device->dmesg_timestamp, in radv_init_trace() 116 ac_dump_reg(f, device->physical_device->rad_info.chip_class, offset, value, ~0); in radv_dump_mmapped_reg() 122 struct radeon_info *info = &device->physical_device->rad_info; in radv_dump_debug_registers() 196 enum chip_class chip_class = device->physical_device->rad_info.chip_class; in radv_dump_descriptor_set() 371 enum chip_class chip_class = pipeline->device->physical_device->rad_info.chip_class; in radv_dump_annotated_shaders() 444 fprintf(f, "%s IR:\n%s\n", pipeline->device->physical_device->use_llvm ? "LLVM" : "ACO", in radv_dump_shader() 588 struct radeon_info *info = &device->physical_device->rad_info; in radv_dump_device_name() 598 fprintf(f, "Device name: %s (%s / DRM %i.%i.%i)\n\n", chip_name, device->physical_device->name, in radv_dump_device_name() 604 fprintf(f, "Device name: %s (%s / DRM %i.%i.%i%s)\n\n", chip_name, device->physical_device->name, in radv_dump_device_name() 621 device->physical_device->rad_info.chip_class >= GFX10 ? "gfx_0.0.0" : "gfx"); in radv_dump_umr_ring() [all …]
|
D | radv_shader.c | 439 nir->options = &device->physical_device->nir_options; in radv_shader_compile_to_nir() 475 .float16 = device->physical_device->rad_info.has_packed_math_16bit, in radv_shader_compile_to_nir() 515 .fragment_shading_rate = device->physical_device->rad_info.chip_class >= GFX10_3, in radv_shader_compile_to_nir() 532 entrypoint_name, &spirv_options, &device->physical_device->nir_options); in radv_shader_compile_to_nir() 606 if (device->physical_device->rad_info.chip_class == GFX6) { in radv_shader_compile_to_nir() 666 bool gfx7minus = device->physical_device->rad_info.chip_class <= GFX7; in radv_shader_compile_to_nir() 714 NIR_PASS_V(nir, lower_intrinsics, key, layout, device->physical_device); in radv_shader_compile_to_nir() 751 if (ac_nir_lower_indirect_derefs(nir, device->physical_device->rad_info.chip_class) && in radv_shader_compile_to_nir() 855 ac_nir_lower_es_outputs_to_mem(nir, device->physical_device->rad_info.chip_class, in radv_lower_io_to_mem() 862 nir, device->physical_device->rad_info.chip_class, info->tcs.tes_reads_tess_factors, in radv_lower_io_to_mem() [all …]
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_wsi.c | 40 tu_wsi_init(struct tu_physical_device *physical_device) in tu_wsi_init() argument 44 result = wsi_device_init(&physical_device->wsi_device, in tu_wsi_init() 45 tu_physical_device_to_handle(physical_device), in tu_wsi_init() 47 &physical_device->instance->vk.alloc, in tu_wsi_init() 48 physical_device->master_fd, NULL, in tu_wsi_init() 53 physical_device->wsi_device.supports_modifiers = true; in tu_wsi_init() 54 physical_device->vk.wsi_device = &physical_device->wsi_device; in tu_wsi_init() 60 tu_wsi_finish(struct tu_physical_device *physical_device) in tu_wsi_finish() argument 62 physical_device->vk.wsi_device = NULL; in tu_wsi_finish() 63 wsi_device_finish(&physical_device->wsi_device, in tu_wsi_finish() [all …]
|
D | tu_formats.c | 166 struct tu_physical_device *physical_device, in tu_physical_device_get_format_properties() argument 209 if (physical_device->vk.supported_extensions.EXT_filter_cubic) in tu_physical_device_get_format_properties() 295 TU_FROM_HANDLE(tu_physical_device, physical_device, physicalDevice); in tu_GetPhysicalDeviceFormatProperties2() 298 physical_device, format, &pFormatProperties->formatProperties); in tu_GetPhysicalDeviceFormatProperties2() 315 … ubwc_possible(format, VK_IMAGE_TYPE_2D, 0, 0, physical_device->info, VK_SAMPLE_COUNT_1_BIT)) { in tu_GetPhysicalDeviceFormatProperties2() 326 struct tu_physical_device *physical_device, in tu_get_image_format_properties() argument 338 tu_physical_device_get_format_properties(physical_device, info->format, in tu_get_image_format_properties() 363 …if (!ubwc_possible(info->format, info->type, info->usage, info->usage, physical_device->info, samp… in tu_get_image_format_properties() 484 const struct tu_physical_device *physical_device, in tu_get_external_image_format_properties() argument 514 return vk_errorf(physical_device, VK_ERROR_FORMAT_NOT_SUPPORTED, in tu_get_external_image_format_properties() [all …]
|
D | tu_nir_lower_multiview.c | 81 if (!dev->physical_device->info->a6xx.supports_multiview_mask) in tu_nir_lower_multiview() 91 dev->physical_device->info->a6xx.supports_multiview_mask ? 16 : 10; in tu_nir_lower_multiview() 102 if (likely(!(dev->physical_device->instance->debug_flags & TU_DEBUG_NOMULTIPOS)) && in tu_nir_lower_multiview()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_wsi.c | 41 panvk_wsi_init(struct panvk_physical_device *physical_device) in panvk_wsi_init() argument 45 result = wsi_device_init(&physical_device->wsi_device, in panvk_wsi_init() 46 panvk_physical_device_to_handle(physical_device), in panvk_wsi_init() 48 &physical_device->instance->vk.alloc, in panvk_wsi_init() 49 physical_device->master_fd, NULL, in panvk_wsi_init() 54 physical_device->wsi_device.supports_modifiers = false; in panvk_wsi_init() 56 physical_device->vk.wsi_device = &physical_device->wsi_device; in panvk_wsi_init() 62 panvk_wsi_finish(struct panvk_physical_device *physical_device) in panvk_wsi_finish() argument 64 physical_device->vk.wsi_device = NULL; in panvk_wsi_finish() 65 wsi_device_finish(&physical_device->wsi_device, in panvk_wsi_finish() [all …]
|
D | panvk_formats.c | 39 get_format_properties(struct panvk_physical_device *physical_device, in get_format_properties() argument 43 struct panfrost_device *pdev = &physical_device->pdev; in get_format_properties() 110 VK_FROM_HANDLE(panvk_physical_device, physical_device, physicalDevice); in panvk_GetPhysicalDeviceFormatProperties() 112 get_format_properties(physical_device, format, pFormatProperties); in panvk_GetPhysicalDeviceFormatProperties() 120 VK_FROM_HANDLE(panvk_physical_device, physical_device, physicalDevice); in panvk_GetPhysicalDeviceFormatProperties2() 122 get_format_properties(physical_device, format, in panvk_GetPhysicalDeviceFormatProperties2() 139 get_image_format_properties(struct panvk_physical_device *physical_device, in get_image_format_properties() argument 152 get_format_properties(physical_device, info->format, &format_props); in get_image_format_properties() 286 VK_FROM_HANDLE(panvk_physical_device, physical_device, physicalDevice); in panvk_GetPhysicalDeviceImageFormatProperties() 298 return get_image_format_properties(physical_device, &info, in panvk_GetPhysicalDeviceImageFormatProperties() [all …]
|
D | panvk_sync.c | 37 const struct panfrost_device *pdev = &device->physical_device->pdev; in sync_create() 56 const struct panfrost_device *pdev = &device->physical_device->pdev; in sync_set_temporary() 69 const struct panfrost_device *pdev = &device->physical_device->pdev; in sync_destroy() 83 const struct panfrost_device *pdev = &device->physical_device->pdev; in sync_import() 138 const struct panfrost_device *pdev = &device->physical_device->pdev; in sync_export() 271 const struct panfrost_device *pdev = &device->physical_device->pdev; in drm_syncobj_wait() 343 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_ResetFences() 387 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_signal_syncobjs() 410 const struct panfrost_device *pdev = &device->physical_device->pdev; in panvk_syncobj_to_fd()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_formats.c | 61 lvp_physical_device_get_format_properties(struct lvp_physical_device *physical_device, in lvp_physical_device_get_format_properties() argument 74 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 88 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 102 physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 107 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 112 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 117 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 126 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 134 if (physical_device->pscreen->is_format_supported(physical_device->pscreen, pformat, in lvp_physical_device_get_format_properties() 167 LVP_FROM_HANDLE(lvp_physical_device, physical_device, physicalDevice); in lvp_GetPhysicalDeviceFormatProperties2() [all …]
|
D | lvp_wsi.c | 44 lvp_init_wsi(struct lvp_physical_device *physical_device) in lvp_init_wsi() argument 48 result = wsi_device_init(&physical_device->wsi_device, in lvp_init_wsi() 49 lvp_physical_device_to_handle(physical_device), in lvp_init_wsi() 51 &physical_device->vk.instance->alloc, in lvp_init_wsi() 56 physical_device->vk.wsi_device = &physical_device->wsi_device; in lvp_init_wsi() 62 lvp_finish_wsi(struct lvp_physical_device *physical_device) in lvp_finish_wsi() argument 64 physical_device->vk.wsi_device = NULL; in lvp_finish_wsi() 65 wsi_device_finish(&physical_device->wsi_device, in lvp_finish_wsi() 66 &physical_device->vk.instance->alloc); in lvp_finish_wsi() 75 struct lvp_physical_device *pdevice = device->physical_device; in lvp_AcquireNextImage2KHR()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_wsi.c | 79 anv_init_wsi(struct anv_physical_device *physical_device) in anv_init_wsi() argument 83 result = wsi_device_init(&physical_device->wsi_device, in anv_init_wsi() 84 anv_physical_device_to_handle(physical_device), in anv_init_wsi() 86 &physical_device->instance->vk.alloc, in anv_init_wsi() 87 physical_device->master_fd, in anv_init_wsi() 88 &physical_device->instance->dri_options, in anv_init_wsi() 93 physical_device->wsi_device.supports_modifiers = true; in anv_init_wsi() 94 physical_device->wsi_device.signal_semaphore_for_memory = in anv_init_wsi() 96 physical_device->wsi_device.signal_fence_for_memory = in anv_init_wsi() 99 physical_device->vk.wsi_device = &physical_device->wsi_device; in anv_init_wsi() [all …]
|
D | anv_formats.c | 858 get_drm_format_modifier_properties_list(const struct anv_physical_device *physical_device, in get_drm_format_modifier_properties_list() argument 862 const struct intel_device_info *devinfo = &physical_device->info; in get_drm_format_modifier_properties_list() 892 get_drm_format_modifier_properties_list_2(const struct anv_physical_device *physical_device, in get_drm_format_modifier_properties_list_2() argument 896 const struct intel_device_info *devinfo = &physical_device->info; in get_drm_format_modifier_properties_list_2() 929 ANV_FROM_HANDLE(anv_physical_device, physical_device, physicalDevice); in anv_GetPhysicalDeviceFormatProperties2() 930 const struct intel_device_info *devinfo = &physical_device->info; in anv_GetPhysicalDeviceFormatProperties2() 952 get_drm_format_modifier_properties_list(physical_device, vk_format, in anv_GetPhysicalDeviceFormatProperties2() 957 get_drm_format_modifier_properties_list_2(physical_device, vk_format, in anv_GetPhysicalDeviceFormatProperties2() 977 struct anv_physical_device *physical_device, in anv_get_image_format_properties() argument 987 const struct intel_device_info *devinfo = &physical_device->info; in anv_get_image_format_properties() [all …]
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_wsi.c | 76 v3dv_wsi_init(struct v3dv_physical_device *physical_device) in v3dv_wsi_init() argument 80 result = wsi_device_init(&physical_device->wsi_device, in v3dv_wsi_init() 81 v3dv_physical_device_to_handle(physical_device), in v3dv_wsi_init() 83 &physical_device->vk.instance->alloc, in v3dv_wsi_init() 84 physical_device->master_fd, NULL, false); in v3dv_wsi_init() 89 physical_device->wsi_device.supports_modifiers = true; in v3dv_wsi_init() 90 physical_device->wsi_device.can_present_on_device = in v3dv_wsi_init() 93 physical_device->vk.wsi_device = &physical_device->wsi_device; in v3dv_wsi_init() 99 v3dv_wsi_finish(struct v3dv_physical_device *physical_device) in v3dv_wsi_finish() argument 101 physical_device->vk.wsi_device = NULL; in v3dv_wsi_finish() [all …]
|
/third_party/flutter/engine/flutter/vulkan/ |
D | vulkan_utilities.cc | 36 VkPhysicalDevice physical_device) { in InstanceOrDeviceLayersToEnable() argument 61 if (physical_device == VK_NULL_HANDLE) { in InstanceOrDeviceLayersToEnable() 68 physical_device, &count, nullptr)) != VK_SUCCESS) { in InstanceOrDeviceLayersToEnable() 76 if (physical_device == VK_NULL_HANDLE) { in InstanceOrDeviceLayersToEnable() 83 physical_device, &count, properties.data())) != VK_SUCCESS) { in InstanceOrDeviceLayersToEnable() 112 const VulkanHandle<VkPhysicalDevice>& physical_device) { in DeviceLayersToEnable() argument 113 if (!physical_device) { in DeviceLayersToEnable() 117 return InstanceOrDeviceLayersToEnable(vk, physical_device); in DeviceLayersToEnable()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkdevice.c | 94 gst_vulkan_device_new (GstVulkanPhysicalDevice * physical_device) in gst_vulkan_device_new() argument 98 g_return_val_if_fail (GST_IS_VULKAN_PHYSICAL_DEVICE (physical_device), NULL); in gst_vulkan_device_new() 101 physical_device, NULL); in gst_vulkan_device_new() 139 device->physical_device = g_value_dup_object (value); in gst_vulkan_device_set_property() 158 g_value_set_object (value, device->physical_device); in gst_vulkan_device_get_property() 180 g_object_get (device->physical_device, "instance", &device->instance, NULL); in gst_vulkan_device_constructed() 241 gst_clear_object (&device->physical_device); in gst_vulkan_device_finalize() 284 for (i = 0; i < device->physical_device->n_queue_families; i++) { in gst_vulkan_device_open() 285 if (device->physical_device-> in gst_vulkan_device_open() 289 if (i >= device->physical_device->n_queue_families) { in gst_vulkan_device_open() [all …]
|
/third_party/mesa3d/src/vulkan/util/ |
D | vk_physical_device.h | 51 vk_physical_device_init(struct vk_physical_device *physical_device, 57 vk_physical_device_finish(struct vk_physical_device *physical_device); 60 vk_physical_device_check_device_features(struct vk_physical_device *physical_device,
|
D | vk_device.c | 37 struct vk_physical_device *physical_device, in vk_device_init() argument 47 device->alloc = physical_device->instance->alloc; in vk_device_init() 49 device->physical = physical_device; in vk_device_init() 66 return vk_errorf(physical_device, VK_ERROR_EXTENSION_NOT_PRESENT, in vk_device_init() 70 if (!physical_device->supported_extensions.extensions[idx]) in vk_device_init() 71 return vk_errorf(physical_device, VK_ERROR_EXTENSION_NOT_PRESENT, in vk_device_init() 77 return vk_errorf(physical_device, VK_ERROR_EXTENSION_NOT_PRESENT, in vk_device_init() 86 vk_physical_device_check_device_features(physical_device, in vk_device_init()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_vulkan.h | 64 … ImGui_ImplVulkanH_CreateWindowDataCommandBuffers(VkPhysicalDevice physical_device, VkDevice dev… 65 …ImplVulkanH_CreateWindowDataSwapChainAndFramebuffer(VkPhysicalDevice physical_device, VkDevice dev… 67 …ceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device, VkSurfaceKHR… 68 …sentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device, VkSurfaceKHR…
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_vulkan.h | 97 …plVulkanH_CreateOrResizeWindow(VkInstance instance, VkPhysicalDevice physical_device, VkDevice dev… 99 …ceFormatKHR ImGui_ImplVulkanH_SelectSurfaceFormat(VkPhysicalDevice physical_device, VkSurfaceKHR… 100 …sentModeKHR ImGui_ImplVulkanH_SelectPresentMode(VkPhysicalDevice physical_device, VkSurfaceKHR…
|