Home
last modified time | relevance | path

Searched refs:image_view_ci (Results 1 – 2 of 2) sorted by relevance

/external/vulkan-validation-layers/layers/
Ddescriptor_sets.cpp811 auto image_view_ci = image_view_state->create_info; in ValidateDrawState() local
813 … if ((reqs & DESCRIPTOR_REQ_ALL_VIEW_TYPE_BITS) && (~reqs & (1 << image_view_ci.viewType))) { in ValidateDrawState()
818 << string_VkImageViewType(image_view_ci.viewType) << "."; in ValidateDrawState()
823 auto format_bits = DescriptorRequirementsBitsFromFormat(image_view_ci.format); in ValidateDrawState()
829 << string_VkFormat(image_view_ci.format) << "."; in ValidateDrawState()
834 auto image_node = device_data_->GetImageState(image_view_ci.image); in ValidateDrawState()
839 sub_layers.aspectMask = image_view_ci.subresourceRange.aspectMask; in ValidateDrawState()
840 sub_layers.baseArrayLayer = image_view_ci.subresourceRange.baseArrayLayer; in ValidateDrawState()
841 sub_layers.layerCount = image_view_ci.subresourceRange.layerCount; in ValidateDrawState()
843 for (auto cur_level = image_view_ci.subresourceRange.baseMipLevel; in ValidateDrawState()
[all …]
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp16463 VkImageViewCreateInfo image_view_ci = {}; in TEST_F() local
16464 image_view_ci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F()
16465 image_view_ci.image = image; in TEST_F()
16466 image_view_ci.format = depth_format; in TEST_F()
16467 image_view_ci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F()
16468 image_view_ci.subresourceRange.layerCount = 1; in TEST_F()
16469 image_view_ci.subresourceRange.baseArrayLayer = 0; in TEST_F()
16470 image_view_ci.subresourceRange.levelCount = 1; in TEST_F()
16473image_view_ci.subresourceRange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BI… in TEST_F()
16476 err = vkCreateImageView(m_device->device(), &image_view_ci, NULL, &image_view); in TEST_F()