Home | History | Annotate | Download | only in vk

Lines Matching refs:attachmentState

432                                     VkPipelineColorBlendAttachmentState* attachmentState) {
442 memset(attachmentState, 0, sizeof(VkPipelineColorBlendAttachmentState));
443 attachmentState->blendEnable = !blendOff;
445 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
446 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
447 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation);
448 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
449 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
450 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation);
454 attachmentState->colorWriteMask = 0;
456 attachmentState->colorWriteMask = VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT |
466 colorBlendInfo->pAttachments = attachmentState;