Home | History | Annotate | Download | only in vk

Lines Matching full:attachmentstate

324                                     VkPipelineColorBlendAttachmentState* attachmentState) {
334 memset(attachmentState, 0, sizeof(VkPipelineColorBlendAttachmentState));
335 attachmentState->blendEnable = !blendOff;
337 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
338 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
339 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation);
340 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
341 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
342 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation);
346 attachmentState->colorWriteMask = 0;
348 attachmentState->colorWriteMask = VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT |
358 colorBlendInfo->pAttachments = attachmentState;