Lines Matching refs:attachmentState
354 VkPipelineColorBlendAttachmentState* attachmentState) { in setup_color_blend_state() argument
364 memset(attachmentState, 0, sizeof(VkPipelineColorBlendAttachmentState)); in setup_color_blend_state()
365 attachmentState->blendEnable = !blendOff; in setup_color_blend_state()
367 attachmentState->srcColorBlendFactor = blend_coeff_to_vk_blend(srcCoeff); in setup_color_blend_state()
368 attachmentState->dstColorBlendFactor = blend_coeff_to_vk_blend(dstCoeff); in setup_color_blend_state()
369 attachmentState->colorBlendOp = blend_equation_to_vk_blend_op(equation); in setup_color_blend_state()
370 attachmentState->srcAlphaBlendFactor = blend_coeff_to_vk_blend(srcCoeff); in setup_color_blend_state()
371 attachmentState->dstAlphaBlendFactor = blend_coeff_to_vk_blend(dstCoeff); in setup_color_blend_state()
372 attachmentState->alphaBlendOp = blend_equation_to_vk_blend_op(equation); in setup_color_blend_state()
376 attachmentState->colorWriteMask = 0; in setup_color_blend_state()
378 attachmentState->colorWriteMask = VK_COLOR_COMPONENT_R_BIT | VK_COLOR_COMPONENT_G_BIT | in setup_color_blend_state()
388 colorBlendInfo->pAttachments = attachmentState; in setup_color_blend_state()