Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_formats.c265 VkFormatFeatureFlags format_feature_flags; in lvp_get_image_format_properties() local
274 format_feature_flags = format_props.linearTilingFeatures; in lvp_get_image_format_properties()
276 format_feature_flags = format_props.optimalTilingFeatures; in lvp_get_image_format_properties()
281 if (format_feature_flags == 0) in lvp_get_image_format_properties()
317 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in lvp_get_image_format_properties()
323 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in lvp_get_image_format_properties()
329 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in lvp_get_image_format_properties()
335 if (!(format_feature_flags & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT)) { in lvp_get_image_format_properties()
341 if (!(format_feature_flags & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT)) { in lvp_get_image_format_properties()
347 if (!(format_feature_flags & VK_FORMAT_FEATURE_TRANSFER_DST_BIT)) { in lvp_get_image_format_properties()
[all …]
/external/mesa3d/src/freedreno/vulkan/
Dtu_formats.c520 VkFormatFeatureFlags format_feature_flags; in tu_get_image_format_properties() local
531 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties()
553 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
556 format_feature_flags = format_props.linearTilingFeatures; in tu_get_image_format_properties()
563 format_feature_flags = format_props.optimalTilingFeatures; in tu_get_image_format_properties()
569 if (format_feature_flags == 0) in tu_get_image_format_properties()
604 (format_feature_flags & in tu_get_image_format_properties()
617 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in tu_get_image_format_properties()
623 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in tu_get_image_format_properties()
629 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in tu_get_image_format_properties()
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c569 VkFormatFeatureFlags format_feature_flags = in get_image_format_properties() local
571 if (!format_feature_flags) in get_image_format_properties()
575 if (!(format_feature_flags & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT)) { in get_image_format_properties()
591 if (!(format_feature_flags & VK_FORMAT_FEATURE_TRANSFER_DST_BIT)) { in get_image_format_properties()
597 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in get_image_format_properties()
612 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in get_image_format_properties()
618 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in get_image_format_properties()
624 if (!(format_feature_flags & in get_image_format_properties()
683 (format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT || in get_image_format_properties()
684 format_feature_flags & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT)) { in get_image_format_properties()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c1144 VkFormatFeatureFlags format_feature_flags; in radv_get_image_format_properties() local
1155 format_feature_flags = format_props.linearTilingFeatures; in radv_get_image_format_properties()
1157 format_feature_flags = format_props.optimalTilingFeatures; in radv_get_image_format_properties()
1162 if (format_feature_flags == 0) in radv_get_image_format_properties()
1208 (format_feature_flags & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | in radv_get_image_format_properties()
1241 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in radv_get_image_format_properties()
1247 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in radv_get_image_format_properties()
1253 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in radv_get_image_format_properties()
1259 if (!(format_feature_flags & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT)) { in radv_get_image_format_properties()
1265 if (!(format_feature_flags & VK_FORMAT_FEATURE_TRANSFER_SRC_BIT)) { in radv_get_image_format_properties()
[all …]
/external/mesa3d/src/intel/vulkan/
Danv_formats.c827 VkFormatFeatureFlags format_feature_flags; in anv_get_image_format_properties() local
839 format_feature_flags = anv_get_image_format_features(devinfo, info->format, in anv_get_image_format_properties()
885 (format_feature_flags & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | in anv_get_image_format_properties()
895 if (!(format_feature_flags & (VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT | in anv_get_image_format_properties()
903 if (!(format_feature_flags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT)) { in anv_get_image_format_properties()
909 if (!(format_feature_flags & VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT)) { in anv_get_image_format_properties()
915 if (!(format_feature_flags & VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT)) { in anv_get_image_format_properties()
921 if (!(format_feature_flags & VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT)) { in anv_get_image_format_properties()
935 !(format_feature_flags & VK_FORMAT_FEATURE_DISJOINT_BIT)) { in anv_get_image_format_properties()