Searched refs:view_usage (Results 1 – 5 of 5) sorted by relevance
401 VkImageUsageFlags view_usage = in get_image_format_properties() local426 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()
125 isl_surf_usage_flags_t view_usage; in brw_blorp_surface_info_init() local128 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()
1100 VkImageUsageFlags view_usage = image_usage; in anv_get_image_format_properties() local1102 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()
2469 isl_surf_usage_flags_t view_usage, in anv_image_fill_surface_state() argument2482 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()
3977 isl_surf_usage_flags_t view_usage,