Lines Matching refs:image_usage

373     auto image_usage = image_state->createInfo.usage;  in ValidateRenderPassLayoutAgainstFramebufferImageUsage()  local
376 …if (layout == VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL && !(image_usage & VK_IMAGE_USAGE_COLOR_ATT… in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
388 !(image_usage & (VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT | VK_IMAGE_USAGE_SAMPLED_BIT))) { in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
399 …if (layout == VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL && !(image_usage & VK_IMAGE_USAGE_TRANSFER_SRC_… in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
410 …if (layout == VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL && !(image_usage & VK_IMAGE_USAGE_TRANSFER_DST_… in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
426 !(image_usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT)) { in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
440 !(image_usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT)) { in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
4201 VkImageUsageFlags image_usage = image_state->createInfo.usage; in PreCallValidateCreateImageView() local
4211 if (chained_ivuci_struct->usage & ~image_usage) { in PreCallValidateCreateImageView()
4215 << image_usage << ")."; in PreCallValidateCreateImageView()
4221 image_usage = chained_ivuci_struct->usage; in PreCallValidateCreateImageView()
4366 …} else if ((image_usage & VK_IMAGE_USAGE_SAMPLED_BIT) && !(tiling_features & VK_FORMAT_FEATURE_SAM… in PreCallValidateCreateImageView()
4372 …} else if ((image_usage & VK_IMAGE_USAGE_STORAGE_BIT) && !(tiling_features & VK_FORMAT_FEATURE_STO… in PreCallValidateCreateImageView()
4378 } else if ((image_usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT) && in PreCallValidateCreateImageView()
4385 } else if ((image_usage & VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT) && in PreCallValidateCreateImageView()
4394 if (image_usage & VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV) { in PreCallValidateCreateImageView()