Searched refs:attachment_desc (Results 1 – 2 of 2) sorted by relevance
411 std::vector<VkAttachmentDescription> attachment_desc; in CreateRenderPass() local417 attachment_desc.push_back(kDefaultAttachmentDesc); in CreateRenderPass()418 attachment_desc.back().format = in CreateRenderPass()420 attachment_desc.back().initialLayout = in CreateRenderPass()422 attachment_desc.back().finalLayout = in CreateRenderPass()426 ref.attachment = static_cast<uint32_t>(attachment_desc.size() - 1); in CreateRenderPass()435 attachment_desc.push_back(kDefaultAttachmentDesc); in CreateRenderPass()436 attachment_desc.back().format = in CreateRenderPass()438 attachment_desc.back().initialLayout = in CreateRenderPass()440 attachment_desc.back().finalLayout = in CreateRenderPass()[all …]
1687 VkAttachmentDescription attachment_desc = {}; in setup_swapchain_data() local1688 attachment_desc.format = pCreateInfo->imageFormat; in setup_swapchain_data()1689 attachment_desc.samples = VK_SAMPLE_COUNT_1_BIT; in setup_swapchain_data()1690 attachment_desc.loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in setup_swapchain_data()1691 attachment_desc.storeOp = VK_ATTACHMENT_STORE_OP_STORE; in setup_swapchain_data()1692 attachment_desc.stencilLoadOp = VK_ATTACHMENT_LOAD_OP_DONT_CARE; in setup_swapchain_data()1693 attachment_desc.stencilStoreOp = VK_ATTACHMENT_STORE_OP_DONT_CARE; in setup_swapchain_data()1694 attachment_desc.initialLayout = VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL; in setup_swapchain_data()1695 attachment_desc.finalLayout = VK_IMAGE_LAYOUT_PRESENT_SRC_KHR; in setup_swapchain_data()1713 render_pass_info.pAttachments = &attachment_desc; in setup_swapchain_data()