Lines Matching refs:aspect_mask
644 … uint32_t level, uint32_t layer, VkImageAspectFlags aspect_mask, in TransitionImageAspectLayout() argument
646 if (!(aspect_mask & aspect)) { in TransitionImageAspectLayout()
663 bool VerifyAspectsPresent(VkImageAspectFlags aspect_mask, VkFormat format) { in VerifyAspectsPresent() argument
664 if ((aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) != 0) { in VerifyAspectsPresent()
667 if ((aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) != 0) { in VerifyAspectsPresent()
670 if ((aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != 0) { in VerifyAspectsPresent()
674 …(aspect_mask & (VK_IMAGE_ASPECT_PLANE_0_BIT_KHR | VK_IMAGE_ASPECT_PLANE_1_BIT_KHR | VK_IMAGE_ASPEC… in VerifyAspectsPresent()
816 auto const aspect_mask = img_barrier->subresourceRange.aspectMask; in ValidateBarriersToImages() local
818 if ((aspect_mask & ds_mask) != (ds_mask)) { in ValidateBarriersToImages()
825 aspect_mask); in ValidateBarriersToImages()
1081 VkImageAspectFlags aspect_mask = mem_barrier->subresourceRange.aspectMask; in TransitionImageLayouts() local
1084 if (aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) { in TransitionImageLayouts()
1085 aspect_mask &= ~VK_IMAGE_ASPECT_COLOR_BIT; in TransitionImageLayouts()
1086 aspect_mask |= (VK_IMAGE_ASPECT_PLANE_0_BIT | VK_IMAGE_ASPECT_PLANE_1_BIT); in TransitionImageLayouts()
1088 aspect_mask |= VK_IMAGE_ASPECT_PLANE_2_BIT; in TransitionImageLayouts()
1098 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
1100 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
1102 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
1104 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
1107 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
1109 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
1111 … TransitionImageAspectLayout(device_data, cb_state, mem_barrier, level, layer, aspect_mask, in TransitionImageLayouts()
3988 … VkImageAspectFlags aspect_mask, const char *func_name, const char *vuid) { in ValidateImageAspectMask() argument
3996 if ((aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) != VK_IMAGE_ASPECT_COLOR_BIT) { in ValidateImageAspectMask()
3999 } else if ((aspect_mask & VK_IMAGE_ASPECT_COLOR_BIT) != aspect_mask) { in ValidateImageAspectMask()
4004 if ((aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) == 0) { in ValidateImageAspectMask()
4009 …} else if ((aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) != aspect_mas… in ValidateImageAspectMask()
4016 if ((aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) != VK_IMAGE_ASPECT_DEPTH_BIT) { in ValidateImageAspectMask()
4019 } else if ((aspect_mask & VK_IMAGE_ASPECT_DEPTH_BIT) != aspect_mask) { in ValidateImageAspectMask()
4024 if ((aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != VK_IMAGE_ASPECT_STENCIL_BIT) { in ValidateImageAspectMask()
4027 } else if ((aspect_mask & VK_IMAGE_ASPECT_STENCIL_BIT) != aspect_mask) { in ValidateImageAspectMask()
4036 if ((aspect_mask & valid_flags) != aspect_mask) { in ValidateImageAspectMask()
4204 VkImageAspectFlags aspect_mask = pCreateInfo->subresourceRange.aspectMask; in PreCallValidateCreateImageView() local
4229 switch (aspect_mask) { in PreCallValidateCreateImageView()
4284 …skip |= ValidateImageAspectMask(device_data, image_state->image, image_format, aspect_mask, "vkCre… in PreCallValidateCreateImageView()