Lines Matching refs:vk_info
98 const VkImageCreateInfo *base_info = anv_info->vk_info; in choose_isl_tiling_flags()
156 const struct VkImageCreateInfo *vk_info) in all_formats_ccs_e_compatible() argument
159 anv_get_isl_format(devinfo, vk_info->format, in all_formats_ccs_e_compatible()
160 VK_IMAGE_ASPECT_COLOR_BIT, vk_info->tiling); in all_formats_ccs_e_compatible()
165 if (!(vk_info->flags & VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT)) in all_formats_ccs_e_compatible()
169 vk_find_struct_const(vk_info->pNext, IMAGE_FORMAT_LIST_CREATE_INFO_KHR); in all_formats_ccs_e_compatible()
177 VK_IMAGE_ASPECT_COLOR_BIT, vk_info->tiling); in all_formats_ccs_e_compatible()
288 const VkImageCreateInfo *vk_info = anv_info->vk_info; in make_surface() local
297 image->extent = anv_sanitize_image_extent(vk_info->imageType, in make_surface()
298 vk_info->extent); in make_surface()
306 choose_isl_surf_usage(vk_info->flags, image->usage, in make_surface()
317 (vk_info->flags & VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR) && in make_surface()
318 vk_info->tiling == VK_IMAGE_TILING_OPTIMAL) { in make_surface()
325 .dim = vk_to_isl_surf_dim[vk_info->imageType], in make_surface()
330 .levels = vk_info->mipLevels, in make_surface()
331 .array_len = vk_info->arrayLayers, in make_surface()
332 .samples = vk_info->samples, in make_surface()
354 .dim = vk_to_isl_surf_dim[vk_info->imageType], in make_surface()
359 .levels = vk_info->mipLevels, in make_surface()
360 .array_len = vk_info->arrayLayers, in make_surface()
361 .samples = vk_info->samples, in make_surface()
390 } else if (vk_info->mipLevels > 1) { in make_surface()
392 } else if (vk_info->arrayLayers > 1) { in make_surface()
395 } else if (dev->info.gen == 8 && vk_info->samples > 1) { in make_surface()
406 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && vk_info->samples == 1) { in make_surface()
420 (vk_info->flags & VK_IMAGE_CREATE_ALIAS_BIT_KHR) == 0 && in make_surface()
457 if (!(vk_info->usage & VK_IMAGE_USAGE_STORAGE_BIT) && in make_surface()
458 all_formats_ccs_e_compatible(&dev->info, vk_info)) { in make_surface()
463 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && vk_info->samples > 1) { in make_surface()
464 assert(!(vk_info->usage & VK_IMAGE_USAGE_STORAGE_BIT)); in make_surface()
518 const VkImageCreateInfo *pCreateInfo = create_info->vk_info; in anv_image_create()
600 .vk_info = pCreateInfo, in anv_CreateImage()