Lines Matching refs:view_usage
895 isl_surf_usage_flags_t view_usage, in anv_image_fill_surface_state() argument
908 view.usage |= view_usage; in anv_image_fill_surface_state()
924 if (view_usage == ISL_SURF_USAGE_RENDER_TARGET_BIT) in anv_image_fill_surface_state()
940 if (view_usage == ISL_SURF_USAGE_STORAGE_BIT && in anv_image_fill_surface_state()
958 if (view_usage == ISL_SURF_USAGE_STORAGE_BIT && in anv_image_fill_surface_state()
1052 assert(view_usage == ISL_SURF_USAGE_STORAGE_BIT); in anv_image_fill_surface_state()
1096 VkImageUsageFlags view_usage = usage_info ? usage_info->usage : image->usage; in anv_CreateImageView() local
1098 assert((view_usage & ~image->usage) == 0); in anv_CreateImageView()
1099 assert(view_usage & (VK_IMAGE_USAGE_SAMPLED_BIT | in anv_CreateImageView()
1189 if (view_usage & VK_IMAGE_USAGE_SAMPLED_BIT || in anv_CreateImageView()
1190 (view_usage & VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT && in anv_CreateImageView()
1220 if (view_usage & VK_IMAGE_USAGE_STORAGE_BIT) { in anv_CreateImageView()