Lines Matching refs:aspects

126    uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect);  in get_surface()
236 image->aspects & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV); in add_fast_clear_state_buffer()
300 const unsigned plane = anv_image_aspect_to_plane(image->aspects, aspect); in make_surface()
546 image->aspects = vk_format_aspects(image->vk_format); in anv_image_create()
565 for_each_bit(b, image->aspects) { in anv_image_create()
655 anv_foreach_image_aspect_bit(aspect_bit, image, image->aspects) { in anv_BindImageMemory()
657 anv_image_aspect_to_plane(image->aspects, 1UL << aspect_bit); in anv_BindImageMemory()
675 VkImageAspectFlags aspects = image->aspects; in anv_BindImageMemory2KHR() local
683 aspects = plane_info->planeAspect; in anv_BindImageMemory2KHR()
693 anv_foreach_image_aspect_bit(aspect_bit, image, aspects) { in anv_BindImageMemory2KHR()
695 anv_image_aspect_to_plane(image->aspects, 1UL << aspect_bit); in anv_BindImageMemory2KHR()
757 assert(_mesa_bitcount(aspect) == 1 && (aspect & image->aspects)); in anv_layout_to_aux_usage()
761 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); in anv_layout_to_aux_usage()
778 if (image->aspects & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) in anv_layout_to_aux_usage()
813 assert((image->aspects & VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) == 0); in anv_layout_to_aux_usage()
824 assert(image->aspects == VK_IMAGE_ASPECT_COLOR_BIT); in anv_layout_to_aux_usage()
846 assert(image->aspects == VK_IMAGE_ASPECT_COLOR_BIT); in anv_layout_to_aux_usage()
902 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect); in anv_image_fill_surface_state()
1390 assert(image->aspects == VK_IMAGE_ASPECT_COLOR_BIT); in anv_image_get_surface_for_aspect_mask()
1394 assert(image->aspects & VK_IMAGE_ASPECT_DEPTH_BIT); in anv_image_get_surface_for_aspect_mask()
1398 assert(image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT); in anv_image_get_surface_for_aspect_mask()
1413 if (image->aspects & VK_IMAGE_ASPECT_DEPTH_BIT) { in anv_image_get_surface_for_aspect_mask()
1416 assert(image->aspects == VK_IMAGE_ASPECT_STENCIL_BIT); in anv_image_get_surface_for_aspect_mask()
1421 assert((image->aspects & ~VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) == 0); in anv_image_get_surface_for_aspect_mask()
1425 assert((image->aspects & ~VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) == 0); in anv_image_get_surface_for_aspect_mask()
1429 assert((image->aspects & ~VK_IMAGE_ASPECT_ANY_COLOR_BIT_ANV) == 0); in anv_image_get_surface_for_aspect_mask()
1437 uint32_t plane = anv_image_aspect_to_plane(image->aspects, sanitized_mask); in anv_image_get_surface_for_aspect_mask()