Lines Matching refs:aspects
87 if (image->aspects & VK_IMAGE_ASPECT_STENCIL_BIT) {
180 image->aspects = vk_format_aspects(format);
187 assert(!(aspect_mask & ~image->aspects));
203 * - If both aspects are included in aspectMask, the implicit usage
226 * If the image has color plane aspects VK_IMAGE_ASPECT_COLOR_BIT has been
227 * requested, this returns the aspects of the underlying image.
246 assert(image->aspects & VK_IMAGE_ASPECT_ANY_COLOR_MASK_MESA);
247 return image->aspects;
249 assert(aspect_mask && !(aspect_mask & ~image->aspects));
374 * driver only cares about one of the two aspects.
376 if (image->aspects == VK_IMAGE_ASPECT_COLOR_BIT ||
377 image->aspects == VK_IMAGE_ASPECT_DEPTH_BIT ||
378 image->aspects == VK_IMAGE_ASPECT_STENCIL_BIT) {
382 image_view->aspects = range->aspectMask;
385 image_view->aspects =
405 if ((image->aspects & VK_IMAGE_ASPECT_PLANE_1_BIT) &&
413 if (image_view->aspects & (VK_IMAGE_ASPECT_DEPTH_BIT |
424 * combined format if both aspects are chosen.
440 if (image_view->aspects == VK_IMAGE_ASPECT_STENCIL_BIT) {
442 } else if (image_view->aspects == VK_IMAGE_ASPECT_DEPTH_BIT) {
498 * usage from the underlying depth/stencil aspects.
501 vk_image_usage(image, image_view->aspects);
621 * all relevant image aspects."
630 * depth and stencil aspects [...]
645 * depth and stencil aspects, and layout is
693 * stencil aspects, and initial/finalLayout is