Home
last modified time | relevance | path

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

/external/vulkan-validation-layers/demos/smoke/
DSmoke.cpp622 VkImageViewCreateInfo view_info = {}; in prepare_framebuffers() local
623 view_info.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in prepare_framebuffers()
624 view_info.image = img; in prepare_framebuffers()
625 view_info.viewType = VK_IMAGE_VIEW_TYPE_2D; in prepare_framebuffers()
626 view_info.format = format_; in prepare_framebuffers()
627 view_info.subresourceRange.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT; in prepare_framebuffers()
628 view_info.subresourceRange.levelCount = 1; in prepare_framebuffers()
629 view_info.subresourceRange.layerCount = 1; in prepare_framebuffers()
632 vk::assert_success(vk::CreateImageView(dev_, &view_info, nullptr, &view)); in prepare_framebuffers()
/external/vulkan-validation-layers/tests/
Dvkrenderframework.cpp1558 VkImageViewCreateInfo view_info = {}; in Init() local
1573 view_info.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO; in Init()
1574 view_info.pNext = NULL; in Init()
1575 view_info.image = VK_NULL_HANDLE; in Init()
1576 view_info.subresourceRange.aspectMask = VK_IMAGE_ASPECT_DEPTH_BIT; in Init()
1577 view_info.subresourceRange.baseMipLevel = 0; in Init()
1578 view_info.subresourceRange.levelCount = 1; in Init()
1579 view_info.subresourceRange.baseArrayLayer = 0; in Init()
1580 view_info.subresourceRange.layerCount = 1; in Init()
1581 view_info.flags = 0; in Init()
[all …]