Home
last modified time | relevance | path

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

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c260 vk_outarray_append(&out, mod_props) { in v3dv_GetPhysicalDeviceFormatProperties2()
261 mod_props->drmFormatModifier = DRM_FORMAT_MOD_LINEAR; in v3dv_GetPhysicalDeviceFormatProperties2()
262 mod_props->drmFormatModifierPlaneCount = 1; in v3dv_GetPhysicalDeviceFormatProperties2()
263 mod_props->drmFormatModifierTilingFeatures = in v3dv_GetPhysicalDeviceFormatProperties2()
268 vk_outarray_append(&out, mod_props) { in v3dv_GetPhysicalDeviceFormatProperties2()
269 mod_props->drmFormatModifier = DRM_FORMAT_MOD_BROADCOM_UIF; in v3dv_GetPhysicalDeviceFormatProperties2()
270 mod_props->drmFormatModifierPlaneCount = 1; in v3dv_GetPhysicalDeviceFormatProperties2()
271 mod_props->drmFormatModifierTilingFeatures = in v3dv_GetPhysicalDeviceFormatProperties2()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_android.c312 VkDrmFormatModifierPropertiesEXT *mod_props = NULL; in vn_android_get_modifier_properties() local
324 mod_props = vk_zalloc( in vn_android_get_modifier_properties()
325 alloc, sizeof(*mod_props) * mod_prop_list.drmFormatModifierCount, in vn_android_get_modifier_properties()
327 if (!mod_props) in vn_android_get_modifier_properties()
330 mod_prop_list.pDrmFormatModifierProperties = mod_props; in vn_android_get_modifier_properties()
335 if (mod_props[i].drmFormatModifier == modifier) { in vn_android_get_modifier_properties()
336 *out_props = mod_props[i]; in vn_android_get_modifier_properties()
342 vk_free(alloc, mod_props); in vn_android_get_modifier_properties()
370 VkDrmFormatModifierPropertiesEXT mod_props; in vn_android_get_image_builder() local
376 dev, create_info->format, buf_props.modifier, alloc, &mod_props); in vn_android_get_image_builder()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c307 vk_outarray_append(&out, mod_props) { in tu_GetPhysicalDeviceFormatProperties2()
308 mod_props->drmFormatModifier = DRM_FORMAT_MOD_LINEAR; in tu_GetPhysicalDeviceFormatProperties2()
309 mod_props->drmFormatModifierPlaneCount = 1; in tu_GetPhysicalDeviceFormatProperties2()
316 vk_outarray_append(&out, mod_props) { in tu_GetPhysicalDeviceFormatProperties2()
317 mod_props->drmFormatModifier = DRM_FORMAT_MOD_QCOM_COMPRESSED; in tu_GetPhysicalDeviceFormatProperties2()
318 mod_props->drmFormatModifierPlaneCount = 1; in tu_GetPhysicalDeviceFormatProperties2()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_formats.c131 vk_outarray_append(&out, mod_props) { in panvk_GetPhysicalDeviceFormatProperties2()
132 mod_props->drmFormatModifier = DRM_FORMAT_MOD_LINEAR; in panvk_GetPhysicalDeviceFormatProperties2()
133 mod_props->drmFormatModifierPlaneCount = 1; in panvk_GetPhysicalDeviceFormatProperties2()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_screen.c1525 VkDrmFormatModifierPropertiesListEXT mod_props; in populate_format_props() local
1528 mod_props.sType = VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT; in populate_format_props()
1529 mod_props.pNext = NULL; in populate_format_props()
1530 mod_props.drmFormatModifierCount = ARRAY_SIZE(mods); in populate_format_props()
1531 mod_props.pDrmFormatModifierProperties = mods; in populate_format_props()
1532 props.pNext = &mod_props; in populate_format_props()
1536 if (screen->info.have_EXT_image_drm_format_modifier && mod_props.drmFormatModifierCount) { in populate_format_props()
1537 screen->modifier_props[i].drmFormatModifierCount = mod_props.drmFormatModifierCount; in populate_format_props()
1538 …fierProperties = ralloc_array(screen, VkDrmFormatModifierPropertiesEXT, mod_props.drmFormatModifie… in populate_format_props()
1539 if (mod_props.pDrmFormatModifierProperties) { in populate_format_props()
[all …]