Home
last modified time | relevance | path

Searched refs:format_feature_flags (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_formats.c146 VkFormatFeatureFlags format_feature_flags; in get_image_format_properties() local
157 format_feature_flags = format_props.linearTilingFeatures; in get_image_format_properties()
175 format_feature_flags = format_props.optimalTilingFeatures; in get_image_format_properties()
181 if (format_feature_flags == 0) in get_image_format_properties()
216 (format_feature_flags & in get_image_format_properties()
225 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in get_image_format_properties()
231 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in get_image_format_properties()
237 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in get_image_format_properties()
243 if (!(format_feature_flags & in get_image_format_properties()
262 *p_feature_flags = format_feature_flags; in get_image_format_properties()
[all …]
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_formats.c351 VkFormatFeatureFlags format_feature_flags; in tu_get_image_format_properties() local
362 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties()
386 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
389 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties()
396 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
402 if (format_feature_flags == 0) in tu_get_image_format_properties()
437 (format_feature_flags & in tu_get_image_format_properties()
468 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in tu_get_image_format_properties()
474 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in tu_get_image_format_properties()
480 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in tu_get_image_format_properties()
[all …]
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c204 VkFormatFeatureFlags2 format_feature_flags; in lvp_get_image_format_properties() local
213 format_feature_flags = format_props.linearTilingFeatures; in lvp_get_image_format_properties()
215 format_feature_flags = format_props.optimalTilingFeatures; in lvp_get_image_format_properties()
220 if (format_feature_flags == 0) in lvp_get_image_format_properties()
247 …(format_feature_flags & (VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT | VK_FORMAT_FEATURE_2_DEPTH_STEN… in lvp_get_image_format_properties()
263 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT)) { in lvp_get_image_format_properties()
269 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT)) { in lvp_get_image_format_properties()
275 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT)) { in lvp_get_image_format_properties()
281 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT)) { in lvp_get_image_format_properties()
287 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT)) { in lvp_get_image_format_properties()
[all …]
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c371 VkFormatFeatureFlags2 format_feature_flags = in get_image_format_properties() local
373 if (!format_feature_flags) in get_image_format_properties()
405 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT)) { in get_image_format_properties()
421 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT)) { in get_image_format_properties()
428 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT)) { in get_image_format_properties()
443 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT)) { in get_image_format_properties()
449 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT)) { in get_image_format_properties()
455 if (!(format_feature_flags & in get_image_format_properties()
510 (format_feature_flags & VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT || in get_image_format_properties()
511 format_feature_flags & VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT)) { in get_image_format_properties()
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c1000 VkFormatFeatureFlags2 format_feature_flags; in anv_get_image_format_properties() local
1024 format_feature_flags = anv_get_image_format_features2(devinfo, info->format, in anv_get_image_format_properties()
1041 format_feature_flags &= view_format_features; in anv_get_image_format_properties()
1045 if (!format_feature_flags) in anv_get_image_format_properties()
1140 (format_feature_flags & (VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT | in anv_get_image_format_properties()
1149 if (!(format_feature_flags & (VK_FORMAT_FEATURE_2_TRANSFER_SRC_BIT | in anv_get_image_format_properties()
1156 if (!(format_feature_flags & (VK_FORMAT_FEATURE_2_TRANSFER_DST_BIT | in anv_get_image_format_properties()
1163 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT)) { in anv_get_image_format_properties()
1180 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT)) { in anv_get_image_format_properties()
1186 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT)) { in anv_get_image_format_properties()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c1473 VkFormatFeatureFlags2 format_feature_flags; in radv_get_image_format_properties() local
1487 format_feature_flags = format_props.linearTilingFeatures; in radv_get_image_format_properties()
1489 format_feature_flags = format_props.optimalTilingFeatures; in radv_get_image_format_properties()
1491 format_feature_flags = radv_get_modifier_flags(physical_device, format, in radv_get_image_format_properties()
1497 if (format_feature_flags == 0) in radv_get_image_format_properties()
1542 (format_feature_flags & (VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT | in radv_get_image_format_properties()
1582 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_SAMPLED_IMAGE_BIT)) { in radv_get_image_format_properties()
1588 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_STORAGE_IMAGE_BIT)) { in radv_get_image_format_properties()
1594 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_COLOR_ATTACHMENT_BIT)) { in radv_get_image_format_properties()
1600 if (!(format_feature_flags & VK_FORMAT_FEATURE_2_DEPTH_STENCIL_ATTACHMENT_BIT)) { in radv_get_image_format_properties()
[all …]