Searched refs:color_attachment (Results 1 – 2 of 2) sorted by relevance
1613 VkRenderingAttachmentInfo *color_attachment = &color_attachments[i]; in begin_subpass() local1616 *color_attachment = (VkRenderingAttachmentInfo) { in begin_subpass()1629 *color_attachment = (VkRenderingAttachmentInfo) { in begin_subpass()1637 color_attachment->loadOp = rp_att->load_op; in begin_subpass()1638 color_attachment->clearValue = att_state->clear_value; in begin_subpass()1647 assert(color_attachment->loadOp == VK_ATTACHMENT_LOAD_OP_CLEAR); in begin_subpass()1655 __vk_append_struct(color_attachment, color_initial_layout); in begin_subpass()1665 color_attachment->loadOp = VK_ATTACHMENT_LOAD_OP_LOAD; in begin_subpass()1670 color_attachment->storeOp = rp_att->store_op; in begin_subpass()1679 color_attachment->storeOp = VK_ATTACHMENT_STORE_OP_STORE; in begin_subpass()[all …]
1576 VkPipelineColorBlendAttachmentState color_attachment[1] = {}; in setup_swapchain_data_pipeline() local1577 color_attachment[0].blendEnable = VK_TRUE; in setup_swapchain_data_pipeline()1578 color_attachment[0].srcColorBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA; in setup_swapchain_data_pipeline()1579 color_attachment[0].dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA; in setup_swapchain_data_pipeline()1580 color_attachment[0].colorBlendOp = VK_BLEND_OP_ADD; in setup_swapchain_data_pipeline()1581 color_attachment[0].srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA; in setup_swapchain_data_pipeline()1582 color_attachment[0].dstAlphaBlendFactor = VK_BLEND_FACTOR_ZERO; in setup_swapchain_data_pipeline()1583 color_attachment[0].alphaBlendOp = VK_BLEND_OP_ADD; in setup_swapchain_data_pipeline()1584 color_attachment[0].colorWriteMask = VK_COLOR_COMPONENT_R_BIT | in setup_swapchain_data_pipeline()1593 blend_info.pAttachments = color_attachment; in setup_swapchain_data_pipeline()[all …]