/external/mesa3d/src/freedreno/vulkan/ |
D | tu_wsi_display.c | 42 TU_FROM_HANDLE(tu_physical_device, pdevice, physical_device); in tu_GetPhysicalDeviceDisplayPropertiesKHR() 46 &pdevice->wsi_device, in tu_GetPhysicalDeviceDisplayPropertiesKHR() 56 TU_FROM_HANDLE(tu_physical_device, pdevice, physical_device); in tu_GetPhysicalDeviceDisplayProperties2KHR() 60 &pdevice->wsi_device, in tu_GetPhysicalDeviceDisplayProperties2KHR() 71 TU_FROM_HANDLE(tu_physical_device, pdevice, physical_device); in tu_GetPhysicalDeviceDisplayPlanePropertiesKHR() 75 &pdevice->wsi_device, in tu_GetPhysicalDeviceDisplayPlanePropertiesKHR() 86 TU_FROM_HANDLE(tu_physical_device, pdevice, physical_device); in tu_GetPhysicalDeviceDisplayPlaneProperties2KHR() 90 &pdevice->wsi_device, in tu_GetPhysicalDeviceDisplayPlaneProperties2KHR() 101 TU_FROM_HANDLE(tu_physical_device, pdevice, physical_device); in tu_GetDisplayPlaneSupportedDisplaysKHR() 105 &pdevice->wsi_device, in tu_GetDisplayPlaneSupportedDisplaysKHR() [all …]
|
D | tu_wsi.c | 234 struct tu_physical_device *pdevice = device->physical_device; in tu_AcquireNextImage2KHR() local 237 &pdevice->wsi_device, _device, pAcquireInfo, pImageIndex); in tu_AcquireNextImage2KHR()
|
D | tu_device.c | 627 TU_FROM_HANDLE(tu_physical_device, pdevice, physicalDevice); in tu_GetPhysicalDeviceProperties2() 749 .apiVersion = tu_physical_device_api_version(pdevice), in tu_GetPhysicalDeviceProperties2() 758 strcpy(pProperties->properties.deviceName, pdevice->name); in tu_GetPhysicalDeviceProperties2() 759 memcpy(pProperties->properties.pipelineCacheUUID, pdevice->cache_uuid, VK_UUID_SIZE); in tu_GetPhysicalDeviceProperties2() 773 memcpy(properties->driverUUID, pdevice->driver_uuid, VK_UUID_SIZE); in tu_GetPhysicalDeviceProperties2() 774 memcpy(properties->deviceUUID, pdevice->device_uuid, VK_UUID_SIZE); in tu_GetPhysicalDeviceProperties2() 822 if (pdevice->supported_extensions.EXT_sample_locations) { in tu_GetPhysicalDeviceProperties2() 2063 TU_FROM_HANDLE(tu_physical_device, pdevice, physicalDevice); in tu_GetPhysicalDeviceMultisamplePropertiesEXT() 2065 if (samples <= VK_SAMPLE_COUNT_4_BIT && pdevice->supported_extensions.EXT_sample_locations) in tu_GetPhysicalDeviceMultisamplePropertiesEXT()
|
/external/mesa3d/src/intel/vulkan/ |
D | anv_wsi_display.c | 34 ANV_FROM_HANDLE(anv_physical_device, pdevice, physical_device); in anv_GetPhysicalDeviceDisplayPropertiesKHR() 38 &pdevice->wsi_device, in anv_GetPhysicalDeviceDisplayPropertiesKHR() 49 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceDisplayProperties2KHR() 52 physicalDevice, &pdevice->wsi_device, in anv_GetPhysicalDeviceDisplayProperties2KHR() 62 ANV_FROM_HANDLE(anv_physical_device, pdevice, physical_device); in anv_GetPhysicalDeviceDisplayPlanePropertiesKHR() 65 physical_device, &pdevice->wsi_device, in anv_GetPhysicalDeviceDisplayPlanePropertiesKHR() 75 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceDisplayPlaneProperties2KHR() 78 physicalDevice, &pdevice->wsi_device, in anv_GetPhysicalDeviceDisplayPlaneProperties2KHR() 88 ANV_FROM_HANDLE(anv_physical_device, pdevice, physical_device); in anv_GetDisplayPlaneSupportedDisplaysKHR() 91 &pdevice->wsi_device, in anv_GetDisplayPlaneSupportedDisplaysKHR() [all …]
|
D | anv_device.c | 786 list_for_each_entry_safe(struct anv_physical_device, pdevice, in anv_DestroyInstance() 788 anv_physical_device_destroy(pdevice); in anv_DestroyInstance() 828 struct anv_physical_device *pdevice; in anv_enumerate_physical_devices() local 830 &pdevice); in anv_enumerate_physical_devices() 841 list_addtail(&pdevice->link, &instance->physical_devices); in anv_enumerate_physical_devices() 862 list_for_each_entry(struct anv_physical_device, pdevice, in anv_EnumeratePhysicalDevices() 865 *i = anv_physical_device_to_handle(pdevice); in anv_EnumeratePhysicalDevices() 885 list_for_each_entry(struct anv_physical_device, pdevice, in anv_EnumeratePhysicalDeviceGroups() 890 p->physicalDevices[0] = anv_physical_device_to_handle(pdevice); in anv_EnumeratePhysicalDeviceGroups() 905 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceFeatures() [all …]
|
D | anv_nir.h | 44 anv_nir_ssbo_addr_format(const struct anv_physical_device *pdevice, in anv_nir_ssbo_addr_format() argument 47 if (pdevice->has_a64_buffer_access) { in anv_nir_ssbo_addr_format() 57 void anv_nir_apply_pipeline_layout(const struct anv_physical_device *pdevice, 63 void anv_nir_compute_push_layout(const struct anv_physical_device *pdevice,
|
D | anv_nir_apply_pipeline_layout.c | 38 const struct anv_physical_device *pdevice; member 376 if (state->pdevice->has_a64_buffer_access && in lower_res_index_intrinsic() 529 anv_descriptor_type_size(state->pdevice, desc_type); in build_ssbo_descriptor_load() 586 if (state->pdevice->has_a64_buffer_access && in lower_load_vulkan_descriptor() 692 if (state->pdevice->has_a64_buffer_access) { in lower_get_ssbo_size() 770 ASSERTED const bool use_bindless = state->pdevice->has_bindless_images; in lower_image_intrinsic() 826 if (state->pdevice->use_softpin) { in lower_load_constant() 997 assert(state->pdevice->info.gen == 7 && !state->pdevice->info.is_haswell); in lower_gen7_tex_swizzle() 1068 if (state->pdevice->info.gen == 7 && !state->pdevice->info.is_haswell) in lower_tex() 1157 anv_nir_apply_pipeline_layout(const struct anv_physical_device *pdevice, in anv_nir_apply_pipeline_layout() argument [all …]
|
D | anv_nir_compute_push_layout.c | 30 anv_nir_compute_push_layout(const struct anv_physical_device *pdevice, in anv_nir_compute_push_layout() argument 37 const struct brw_compiler *compiler = pdevice->compiler; in anv_nir_compute_push_layout() 77 (pdevice->info.gen >= 8 || pdevice->info.is_haswell) && in anv_nir_compute_push_layout()
|
D | anv_pipeline.c | 133 const struct anv_physical_device *pdevice = device->physical; in anv_shader_compile_to_nir() local 134 const struct brw_compiler *compiler = pdevice->compiler; in anv_shader_compile_to_nir() 187 .float16 = pdevice->info.gen >= 8, in anv_shader_compile_to_nir() 188 .float64 = pdevice->info.gen >= 8, in anv_shader_compile_to_nir() 189 .fragment_shader_sample_interlock = pdevice->info.gen >= 9, in anv_shader_compile_to_nir() 190 .fragment_shader_pixel_interlock = pdevice->info.gen >= 9, in anv_shader_compile_to_nir() 193 .int8 = pdevice->info.gen >= 8, in anv_shader_compile_to_nir() 194 .int16 = pdevice->info.gen >= 8, in anv_shader_compile_to_nir() 195 .int64 = pdevice->info.gen >= 8, in anv_shader_compile_to_nir() 196 .int64_atomics = pdevice->info.gen >= 9 && pdevice->use_softpin, in anv_shader_compile_to_nir() [all …]
|
D | anv_descriptor_set.c | 182 anv_descriptor_type_size(const struct anv_physical_device *pdevice, in anv_descriptor_type_size() argument 190 return anv_descriptor_data_size(anv_descriptor_data_for_type(pdevice, type)); in anv_descriptor_type_size() 194 anv_descriptor_data_supports_bindless(const struct anv_physical_device *pdevice, in anv_descriptor_data_supports_bindless() argument 199 assert(pdevice->has_a64_buffer_access); in anv_descriptor_data_supports_bindless() 204 assert(pdevice->has_bindless_images || pdevice->has_bindless_samplers); in anv_descriptor_data_supports_bindless() 205 return sampler ? pdevice->has_bindless_samplers : in anv_descriptor_data_supports_bindless() 206 pdevice->has_bindless_images; in anv_descriptor_data_supports_bindless() 210 assert(pdevice->has_bindless_images); in anv_descriptor_data_supports_bindless() 218 anv_descriptor_supports_bindless(const struct anv_physical_device *pdevice, in anv_descriptor_supports_bindless() argument 222 return anv_descriptor_data_supports_bindless(pdevice, binding->data, in anv_descriptor_supports_bindless() [all …]
|
D | anv_perf.c | 309 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR() 310 struct gen_perf_config *perf = pdevice->perf; in anv_EnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR() 348 ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); in anv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR() 349 struct gen_perf_config *perf = pdevice->perf; in anv_GetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR()
|
D | genX_query.c | 68 const struct anv_physical_device *pdevice = device->physical; in genX() local 125 n_passes = gen_perf_get_n_passes(pdevice->perf, in genX() 152 gen_perf_get_counters_passes(pdevice->perf, in genX() 158 gen_perf_get_n_passes(pdevice->perf, in genX() 165 if (pdevice->supports_48bit_addresses) in genX() 168 if (pdevice->use_softpin) in genX() 171 if (pdevice->has_exec_async) in genX() 513 const struct anv_physical_device *pdevice = device->physical; in genX() local 522 anv_perf_write_pass_results(pdevice->perf, pool, p, &result, pData); in genX()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_wsi_display.c | 49 RADV_FROM_HANDLE(radv_physical_device, pdevice, physical_device); in radv_GetPhysicalDeviceDisplayPropertiesKHR() 53 &pdevice->wsi_device, in radv_GetPhysicalDeviceDisplayPropertiesKHR() 63 RADV_FROM_HANDLE(radv_physical_device, pdevice, physical_device); in radv_GetPhysicalDeviceDisplayProperties2KHR() 67 &pdevice->wsi_device, in radv_GetPhysicalDeviceDisplayProperties2KHR() 78 RADV_FROM_HANDLE(radv_physical_device, pdevice, physical_device); in radv_GetPhysicalDeviceDisplayPlanePropertiesKHR() 82 &pdevice->wsi_device, in radv_GetPhysicalDeviceDisplayPlanePropertiesKHR() 93 RADV_FROM_HANDLE(radv_physical_device, pdevice, physical_device); in radv_GetPhysicalDeviceDisplayPlaneProperties2KHR() 97 &pdevice->wsi_device, in radv_GetPhysicalDeviceDisplayPlaneProperties2KHR() 108 RADV_FROM_HANDLE(radv_physical_device, pdevice, physical_device); in radv_GetDisplayPlaneSupportedDisplaysKHR() 112 &pdevice->wsi_device, in radv_GetDisplayPlaneSupportedDisplaysKHR() [all …]
|
D | radv_cs.h | 112 static inline void radeon_set_sh_reg_idx(const struct radv_physical_device *pdevice, in radeon_set_sh_reg_idx() argument 122 if (pdevice->rad_info.chip_class < GFX10) in radeon_set_sh_reg_idx() 155 static inline void radeon_set_uconfig_reg_idx(const struct radv_physical_device *pdevice, in radeon_set_uconfig_reg_idx() argument 165 if (pdevice->rad_info.chip_class < GFX9 || in radeon_set_uconfig_reg_idx() 166 (pdevice->rad_info.chip_class == GFX9 && pdevice->rad_info.me_fw_version < 26)) in radeon_set_uconfig_reg_idx()
|
D | radv_device.c | 277 radv_get_compiler_string(struct radv_physical_device *pdevice) in radv_get_compiler_string() argument 279 if (!pdevice->use_llvm) { in radv_get_compiler_string() 284 if (driQueryOptionb(&pdevice->instance->dri_options, in radv_get_compiler_string() 835 list_for_each_entry_safe(struct radv_physical_device, pdevice, in radv_DestroyInstance() 837 radv_physical_device_destroy(pdevice); in radv_DestroyInstance() 874 struct radv_physical_device *pdevice; in radv_enumerate_physical_devices() local 876 result = radv_physical_device_try_create(instance, NULL, &pdevice); in radv_enumerate_physical_devices() 880 list_addtail(&pdevice->link, &instance->physical_devices); in radv_enumerate_physical_devices() 897 struct radv_physical_device *pdevice; in radv_enumerate_physical_devices() local 899 &pdevice); in radv_enumerate_physical_devices() [all …]
|
D | radv_shader.c | 869 const struct radv_physical_device *pdevice = device->physical_device; in radv_postprocess_config() local 884 assert((pdevice->rad_info.chip_class >= GFX10 && num_shared_vgprs % 8 == 0) in radv_postprocess_config() 885 || (pdevice->rad_info.chip_class < GFX10 && num_shared_vgprs == 0)); in radv_postprocess_config() 905 if (!pdevice->use_ngg_streamout) { in radv_postprocess_config() 918 if (pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config() 928 config_out->rsrc1 |= S_00B228_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config() 932 assert(pdevice->rad_info.chip_class <= GFX8); in radv_postprocess_config() 941 config_out->rsrc1 |= S_00B128_MEM_ORDERED(pdevice->rad_info.chip_class >= GFX10); in radv_postprocess_config() 948 if (pdevice->rad_info.chip_class >= GFX9) { in radv_postprocess_config() 953 if (pdevice->rad_info.chip_class >= GFX10) { in radv_postprocess_config() [all …]
|
D | radv_wsi.c | 252 struct radv_physical_device *pdevice = device->physical_device; in radv_AcquireNextImage2KHR() local 256 VkResult result = wsi_common_acquire_next_image2(&pdevice->wsi_device, in radv_AcquireNextImage2KHR()
|
/external/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_device.c | 292 LVP_FROM_HANDLE(lvp_physical_device, pdevice, physicalDevice); in lvp_GetPhysicalDeviceFeatures() 298 ….imageCubeArray = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CA… in lvp_GetPhysicalDeviceFeatures() 300 ….geometryShader = (pdevice->pscreen->get_shader_param(pdevice->pscreen, … in lvp_GetPhysicalDeviceFeatures() 301 ….tessellationShader = (pdevice->pscreen->get_shader_param(pdevice->pscreen, … in lvp_GetPhysicalDeviceFeatures() 302 ….sampleRateShading = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CA… in lvp_GetPhysicalDeviceFeatures() 303 ….dualSrcBlend = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CA… in lvp_GetPhysicalDeviceFeatures() 305 ….multiDrawIndirect = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CA… in lvp_GetPhysicalDeviceFeatures() 307 ….depthClamp = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CA… in lvp_GetPhysicalDeviceFeatures() 310 ….depthBounds = (pdevice->pscreen->get_param(pdevice->pscreen, PIPE_CA… in lvp_GetPhysicalDeviceFeatures() 321 ….vertexPipelineStoresAndAtomics = (pdevice->pscreen->get_shader_param(pdevice->pscreen, … in lvp_GetPhysicalDeviceFeatures() [all …]
|
D | lvp_wsi.c | 210 struct lvp_physical_device *pdevice = device->physical_device; in lvp_AcquireNextImage2KHR() local 212 VkResult result = wsi_common_acquire_next_image2(&pdevice->wsi_device, in lvp_AcquireNextImage2KHR()
|
/external/mesa3d/src/vulkan/wsi/ |
D | wsi_common.c | 37 VkPhysicalDevice pdevice, in wsi_device_init() argument 50 wsi->pdevice = pdevice; in wsi_device_init() 53 PFN_vk##func func = (PFN_vk##func)proc_addr(pdevice, "vk" #func) in wsi_device_init() 65 GetPhysicalDeviceProperties2(pdevice, &pdp2); in wsi_device_init() 70 GetPhysicalDeviceMemoryProperties(pdevice, &wsi->memory_props); in wsi_device_init() 71 GetPhysicalDeviceQueueFamilyProperties(pdevice, &wsi->queue_family_count, NULL); in wsi_device_init() 74 wsi->func = (PFN_vk##func)proc_addr(pdevice, "vk" #func) in wsi_device_init() 115 result = wsi_wl_init_wsi(wsi, alloc, pdevice); in wsi_device_init()
|
D | wsi_common.h | 88 VkPhysicalDevice pdevice; member 193 VkPhysicalDevice pdevice,
|
D | wsi_common_drm.c | 171 wsi->GetPhysicalDeviceFormatProperties2KHR(wsi->pdevice, in wsi_create_native_image() 186 wsi->GetPhysicalDeviceFormatProperties2KHR(wsi->pdevice, in wsi_create_native_image() 223 result = wsi->GetPhysicalDeviceImageFormatProperties2(wsi->pdevice, in wsi_create_native_image()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_wsi.c | 249 struct v3dv_physical_device *pdevice = &device->instance->physicalDevice; in v3dv_AcquireNextImage2KHR() local 252 result = wsi_common_acquire_next_image2(&pdevice->wsi_device, _device, in v3dv_AcquireNextImage2KHR() 270 struct v3dv_physical_device *pdevice = in v3dv_QueuePresentKHR() local 273 return wsi_common_queue_present(&pdevice->wsi_device, in v3dv_QueuePresentKHR()
|
D | v3dv_pipeline_cache.c | 374 struct v3dv_physical_device *pdevice = &device->instance->physicalDevice; in pipeline_cache_load() local 391 if (header.vendor_id != v3dv_physical_device_vendor_id(pdevice)) in pipeline_cache_load() 393 if (header.device_id != v3dv_physical_device_device_id(pdevice)) in pipeline_cache_load() 395 if (memcmp(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE) != 0) in pipeline_cache_load() 623 struct v3dv_physical_device *pdevice = &device->instance->physicalDevice; in v3dv_GetPipelineCacheData() local 631 .vendor_id = v3dv_physical_device_vendor_id(pdevice), in v3dv_GetPipelineCacheData() 632 .device_id = v3dv_physical_device_device_id(pdevice), in v3dv_GetPipelineCacheData() 634 memcpy(header.uuid, pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in v3dv_GetPipelineCacheData()
|
D | v3dv_device.c | 185 struct v3dv_physical_device *pdevice = &instance->physicalDevice; in v3dv_CreateInstance() local 186 for (unsigned i = 0; i < ARRAY_SIZE(pdevice->dispatch.entrypoints); i++) { in v3dv_CreateInstance() 193 pdevice->dispatch.entrypoints[i] = NULL; in v3dv_CreateInstance() 195 pdevice->dispatch.entrypoints[i] = in v3dv_CreateInstance() 790 V3DV_FROM_HANDLE(v3dv_physical_device, pdevice, physicalDevice); in v3dv_GetPhysicalDeviceProperties() 950 .apiVersion = v3dv_physical_device_api_version(pdevice), in v3dv_GetPhysicalDeviceProperties() 952 .vendorID = v3dv_physical_device_vendor_id(pdevice), in v3dv_GetPhysicalDeviceProperties() 953 .deviceID = v3dv_physical_device_device_id(pdevice), in v3dv_GetPhysicalDeviceProperties() 960 "%s", pdevice->name); in v3dv_GetPhysicalDeviceProperties() 962 pdevice->pipeline_cache_uuid, VK_UUID_SIZE); in v3dv_GetPhysicalDeviceProperties() [all …]
|