Lines Matching defs:in_blend
1459 const VkPipelineColorBlendStateCreateInfo *in_blend =
1464 if (!in_blend || !in_ms)
1469 in_blend->logicOpEnable ?
1470 translate_logic_op(in_blend->logicOp) : D3D12_LOGIC_OP_NOOP;
1472 memcpy(pipeline->blend.constants, in_blend->blendConstants,
1475 for (uint32_t i = 0; i < in_blend->attachmentCount; i++) {
1477 !memcmp(&in_blend->pAttachments[i - 1], &in_blend->pAttachments[i],
1478 sizeof(*in_blend->pAttachments)))
1482 in_blend->pAttachments[i].blendEnable;
1484 in_blend->pAttachments[i].colorWriteMask;
1486 if (in_blend->logicOpEnable) {
1491 translate_blend_factor(in_blend->pAttachments[i].srcColorBlendFactor, false);
1493 translate_blend_factor(in_blend->pAttachments[i].dstColorBlendFactor, false);
1495 translate_blend_op(in_blend->pAttachments[i].colorBlendOp);
1497 translate_blend_factor(in_blend->pAttachments[i].srcAlphaBlendFactor, true);
1499 translate_blend_factor(in_blend->pAttachments[i].dstAlphaBlendFactor, true);
1501 translate_blend_op(in_blend->pAttachments[i].alphaBlendOp);