Lines Matching refs:attachmentState
428 VkPipelineColorBlendAttachmentState* attachmentState) {
438 memset(attachmentState, 0, sizeof(VkPipelineColorBlendAttachmentState));
439 attachmentState->blendEnable = !blendOff;
441 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
442 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
443 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation);
444 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
445 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
446 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation);
450 attachmentState->colorWriteMask = 0;
452 attachmentState->colorWriteMask = VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT |
462 colorBlendInfo->pAttachments = attachmentState;