• Home
  • Raw
  • Download

Lines Matching refs:aspect

60 image_aspect_to_binding(struct anv_image *image, VkImageAspectFlags aspect)  in image_aspect_to_binding()  argument
68 assert(aspect >= VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT && in image_aspect_to_binding()
69 aspect <= VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT); in image_aspect_to_binding()
76 plane = aspect - VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT; in image_aspect_to_binding()
78 plane = anv_image_aspect_to_plane(image, aspect); in image_aspect_to_binding()
206 VkImageAspectFlagBits aspect) in choose_isl_surf_usage() argument
226 switch (aspect) { in choose_isl_surf_usage()
248 aspect == VK_IMAGE_ASPECT_COLOR_BIT) { in choose_isl_surf_usage()
359 plane_format.aspect == VK_IMAGE_ASPECT_STENCIL_BIT && in anv_image_plane_needs_shadow_surface()
514 VkImageAspectFlags aspect = plane_format.aspect; in add_aux_surface_if_supported() local
524 if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT) { in add_aux_surface_if_supported()
593 } else if (aspect == VK_IMAGE_ASPECT_STENCIL_BIT) { in add_aux_surface_if_supported()
604 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && image->vk.samples == 1) { in add_aux_surface_if_supported()
704 } else if ((aspect & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) && image->vk.samples > 1) { in add_aux_surface_if_supported()
1033 VkImageAspectFlagBits aspect = 1 << b; in add_all_surfaces_implicit_layout() local
1034 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in add_all_surfaces_implicit_layout()
1038 VkImageUsageFlags vk_usage = vk_image_usage(&image->vk, aspect); in add_all_surfaces_implicit_layout()
1041 isl_extra_usage_flags, aspect); in add_all_surfaces_implicit_layout()
1151 const VkImageAspectFlagBits aspect = 1 << b; in add_all_surfaces_explicit_layout() local
1152 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in add_all_surfaces_explicit_layout()
1963 const VkImageAspectFlagBits aspect, in anv_layout_to_aux_state() argument
1975 assert(util_bitcount(aspect) == 1 && (aspect & image->vk.aspects)); in anv_layout_to_aux_state()
1979 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in anv_layout_to_aux_state()
2037 const bool read_only = vk_image_layout_is_read_only(layout, aspect); in anv_layout_to_aux_state()
2040 vk_image_usage(&image->vk, aspect); in anv_layout_to_aux_state()
2042 vk_image_layout_to_usage_flags(layout, aspect) & image_aspect_usage; in anv_layout_to_aux_state()
2057 if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT && devinfo->ver <= 9) { in anv_layout_to_aux_state()
2172 const VkImageAspectFlagBits aspect, in anv_layout_to_aux_usage() argument
2176 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in anv_layout_to_aux_usage()
2185 anv_layout_to_aux_state(devinfo, image, aspect, layout); in anv_layout_to_aux_usage()
2206 assert(vk_image_layout_is_read_only(layout, aspect)); in anv_layout_to_aux_usage()
2239 const VkImageAspectFlagBits aspect, in anv_layout_to_fast_clear_type() argument
2245 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in anv_layout_to_fast_clear_type()
2258 anv_layout_to_aux_state(devinfo, image, aspect, layout); in anv_layout_to_fast_clear_type()
2266 if (aspect == VK_IMAGE_ASPECT_DEPTH_BIT) { in anv_layout_to_fast_clear_type()
2330 VkImageAspectFlagBits aspect, in anv_image_fill_surface_state() argument
2339 const uint32_t plane = anv_image_aspect_to_plane(image, aspect); in anv_image_fill_surface_state()
2365 aspect == VK_IMAGE_ASPECT_STENCIL_BIT) { in anv_image_fill_surface_state()
2382 if (device->info.ver >= 9 && aspect == VK_IMAGE_ASPECT_DEPTH_BIT) in anv_image_fill_surface_state()
2458 clear_address = anv_image_get_clear_color_addr(device, image, aspect); in anv_image_fill_surface_state()