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.cpp447 auto image_view_ci = image_view_state->create_info; in ValidateDrawState() local
449 … if ((reqs & DESCRIPTOR_REQ_ALL_VIEW_TYPE_BITS) && (~reqs & (1 << image_view_ci.viewType))) { in ValidateDrawState()
454 … << " but got " << string_VkImageViewType(image_view_ci.viewType) << "."; in ValidateDrawState()
459 auto image_node = getImageState(device_data_, image_view_ci.image); in ValidateDrawState()
/external/vulkan-validation-layers/tests/
Dlayer_validation_tests.cpp8237 VkImageViewCreateInfo image_view_ci = {}; in TEST_F() local
8238 image_view_ci.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in TEST_F()
8239 image_view_ci.image = image; in TEST_F()
8240 image_view_ci.format = VK_FORMAT_R8G8B8A8_UNORM; in TEST_F()
8241 image_view_ci.viewType = VK_IMAGE_VIEW_TYPE_2D; in TEST_F()
8242 image_view_ci.subresourceRange.layerCount = 1; in TEST_F()
8243 image_view_ci.subresourceRange.baseArrayLayer = 0; in TEST_F()
8244 image_view_ci.subresourceRange.levelCount = 1; in TEST_F()
8245 image_view_ci.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in TEST_F()
8247 err = vkCreateImageView(m_device->device(), &image_view_ci, NULL, &image_view); in TEST_F()
[all …]