Lines Matching refs:create_info
106 …: image_view(iv), create_info(*ci), normalized_subresource_range(ci->subresourceRange), samplerCon… in IMAGE_VIEW_STATE()
107 auto *conversionInfo = lvl_find_in_chain<VkSamplerYcbcrConversionInfo>(create_info.pNext); in IMAGE_VIEW_STATE()
111 auto &sub_res_range = create_info.subresourceRange; in IMAGE_VIEW_STATE()
118 descriptor_format_bits = DescriptorRequirementsBitsFromFormat(create_info.format); in IMAGE_VIEW_STATE()
320 IMAGE_STATE *image_state = GetImageState(view_state.create_info.image); in SetImageViewInitialLayout()
349 IMAGE_STATE *image_state = GetImageState(view_state.create_info.image); in SetImageViewLayout()
355 …if ((image_state->createInfo.imageType == VK_IMAGE_TYPE_3D) && (view_state.create_info.viewType !=… in SetImageViewLayout()
499 const VkImage image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
556 auto image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
571 auto image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
591 auto image = view_state->create_info.image; in VerifyFramebufferAndRenderPassLayouts()
1167 …ateCreateImageANDROID(const debug_report_data *report_data, const VkImageCreateInfo *create_info) { in ValidateCreateImageANDROID() argument
1170 …nalFormatANDROID *ext_fmt_android = lvl_find_in_chain<VkExternalFormatANDROID>(create_info->pNext); in ValidateCreateImageANDROID()
1173 if (VK_FORMAT_UNDEFINED != create_info->format) { in ValidateCreateImageANDROID()
1181 if (0 != (VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT & create_info->flags)) { in ValidateCreateImageANDROID()
1188 if (0 != (~VK_IMAGE_USAGE_SAMPLED_BIT & create_info->usage)) { in ValidateCreateImageANDROID()
1195 if (VK_IMAGE_TILING_OPTIMAL != create_info->tiling) { in ValidateCreateImageANDROID()
1212 if (VK_FORMAT_UNDEFINED == create_info->format) { in ValidateCreateImageANDROID()
1220 …oryImageCreateInfo *emici = lvl_find_in_chain<VkExternalMemoryImageCreateInfo>(create_info->pNext); in ValidateCreateImageANDROID()
1222 if (create_info->imageType != VK_IMAGE_TYPE_2D) { in ValidateCreateImageANDROID()
1228 string_VkImageType(create_info->imageType)); in ValidateCreateImageANDROID()
1231 …if ((create_info->mipLevels != 1) && (create_info->mipLevels != FullMipChainLevels(create_info->ex… in ValidateCreateImageANDROID()
1237 create_info->mipLevels, FullMipChainLevels(create_info->extent)); in ValidateCreateImageANDROID()
1244 void ValidationStateTracker::RecordCreateImageANDROID(const VkImageCreateInfo *create_info, IMAGE_S… in RecordCreateImageANDROID() argument
1245 …oryImageCreateInfo *emici = lvl_find_in_chain<VkExternalMemoryImageCreateInfo>(create_info->pNext); in RecordCreateImageANDROID()
1249 …nalFormatANDROID *ext_fmt_android = lvl_find_in_chain<VkExternalFormatANDROID>(create_info->pNext); in RecordCreateImageANDROID()
1256 bool CoreChecks::ValidateCreateImageViewANDROID(const VkImageViewCreateInfo *create_info) { in ValidateCreateImageViewANDROID() argument
1258 IMAGE_STATE *image_state = GetImageState(create_info->image); in ValidateCreateImageViewANDROID()
1261 if (VK_FORMAT_UNDEFINED != create_info->format) { in ValidateCreateImageViewANDROID()
1263 … HandleToUint64(create_info->image), "VUID-VkImageViewCreateInfo-image-02399", in ValidateCreateImageViewANDROID()
1266 string_VkFormat(create_info->format)); in ValidateCreateImageViewANDROID()
1272 …versionInfo *ycbcr_conv_info = lvl_find_in_chain<VkSamplerYcbcrConversionInfo>(create_info->pNext); in ValidateCreateImageViewANDROID()
1282 … HandleToUint64(create_info->image), "VUID-VkImageViewCreateInfo-image-02400", in ValidateCreateImageViewANDROID()
1288 if ((create_info->components.r != VK_COMPONENT_SWIZZLE_IDENTITY) || in ValidateCreateImageViewANDROID()
1289 (create_info->components.g != VK_COMPONENT_SWIZZLE_IDENTITY) || in ValidateCreateImageViewANDROID()
1290 (create_info->components.b != VK_COMPONENT_SWIZZLE_IDENTITY) || in ValidateCreateImageViewANDROID()
1291 (create_info->components.a != VK_COMPONENT_SWIZZLE_IDENTITY)) { in ValidateCreateImageViewANDROID()
1293 … HandleToUint64(create_info->image), "VUID-VkImageViewCreateInfo-image-02401", in ValidateCreateImageViewANDROID()
1318 …ateCreateImageANDROID(const debug_report_data *report_data, const VkImageCreateInfo *create_info) { in ValidateCreateImageANDROID() argument
1322 void ValidationStateTracker::RecordCreateImageANDROID(const VkImageCreateInfo *create_info, IMAGE_S… in RecordCreateImageANDROID() argument
1324 bool CoreChecks::ValidateCreateImageViewANDROID(const VkImageViewCreateInfo *create_info) { return … in ValidateCreateImageViewANDROID() argument
2810 … const auto attachment_layer_count = image_view_state->create_info.subresourceRange.layerCount; in ValidateClearAttachmentExtent()