Lines Matching refs:attachmentState
349 VkPipelineColorBlendAttachmentState* attachmentState) {
359 memset(attachmentState, 0, sizeof(VkPipelineColorBlendAttachmentState));
360 attachmentState->blendEnable = !blendOff;
362 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
363 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
364 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation);
365 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff);
366 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff);
367 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation);
369 attachmentState->colorWriteMask = VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT |
378 colorBlendInfo->pAttachments = attachmentState;