Home
last modified time | relevance | path

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

/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_formats.c401 VkImageUsageFlags view_usage = in get_image_format_properties() local
426 if (view_usage & (VK_IMAGE_USAGE_SAMPLED_BIT | in get_image_format_properties()
442 if (view_usage & VK_IMAGE_USAGE_STORAGE_BIT) { in get_image_format_properties()
448 if (view_usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) { in get_image_format_properties()
454 if (view_usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) { in get_image_format_properties()
/third_party/mesa3d/src/intel/blorp/
Dblorp.c125 isl_surf_usage_flags_t view_usage; in brw_blorp_surface_info_init() local
128 view_usage = ISL_SURF_USAGE_STORAGE_BIT; in brw_blorp_surface_info_init()
130 view_usage = ISL_SURF_USAGE_RENDER_TARGET_BIT; in brw_blorp_surface_info_init()
132 view_usage = ISL_SURF_USAGE_TEXTURE_BIT; in brw_blorp_surface_info_init()
136 .usage = view_usage, in brw_blorp_surface_info_init()
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c1100 VkImageUsageFlags view_usage = image_usage; in anv_get_image_format_properties() local
1102 view_usage = 0; in anv_get_image_format_properties()
1148 if (view_usage & VK_IMAGE_USAGE_TRANSFER_SRC_BIT) { in anv_get_image_format_properties()
1155 if (view_usage & VK_IMAGE_USAGE_TRANSFER_DST_BIT) { in anv_get_image_format_properties()
1162 if (view_usage & VK_IMAGE_USAGE_SAMPLED_BIT) { in anv_get_image_format_properties()
1179 if (view_usage & VK_IMAGE_USAGE_STORAGE_BIT) { in anv_get_image_format_properties()
1185 if (view_usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) { in anv_get_image_format_properties()
1191 if (view_usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) { in anv_get_image_format_properties()
Danv_image.c2469 isl_surf_usage_flags_t view_usage, in anv_image_fill_surface_state() argument
2482 view.usage |= view_usage; in anv_image_fill_surface_state()
2504 assert(view_usage & ISL_SURF_USAGE_TEXTURE_BIT); in anv_image_fill_surface_state()
2508 if (view_usage == ISL_SURF_USAGE_RENDER_TARGET_BIT) in anv_image_fill_surface_state()
2527 if (view_usage == ISL_SURF_USAGE_STORAGE_BIT && in anv_image_fill_surface_state()
2542 .mocs = anv_mocs(device, address.bo, view_usage)); in anv_image_fill_surface_state()
2547 if (view_usage == ISL_SURF_USAGE_STORAGE_BIT && in anv_image_fill_surface_state()
2626 view_usage), in anv_image_fill_surface_state()
2650 assert(view_usage == ISL_SURF_USAGE_STORAGE_BIT); in anv_image_fill_surface_state()
Danv_private.h3977 isl_surf_usage_flags_t view_usage,