Lines Matching defs:att
378 VkPipelineColorBlendAttachmentState att = {0};
381 att.blendEnable = VK_TRUE;
382 att.srcColorBlendFactor = blend_factor(fix_blendfactor(rt->rgb_src_factor, cso->alpha_to_one));
383 att.dstColorBlendFactor = blend_factor(fix_blendfactor(rt->rgb_dst_factor, cso->alpha_to_one));
384 att.colorBlendOp = blend_op(rt->rgb_func);
385 att.srcAlphaBlendFactor = blend_factor(fix_blendfactor(rt->alpha_src_factor, cso->alpha_to_one));
386 att.dstAlphaBlendFactor = blend_factor(fix_blendfactor(rt->alpha_dst_factor, cso->alpha_to_one));
387 att.alphaBlendOp = blend_op(rt->alpha_func);
397 att.colorWriteMask |= VK_COLOR_COMPONENT_R_BIT;
399 att.colorWriteMask |= VK_COLOR_COMPONENT_G_BIT;
401 att.colorWriteMask |= VK_COLOR_COMPONENT_B_BIT;
403 att.colorWriteMask |= VK_COLOR_COMPONENT_A_BIT;
405 cso->attachments[i] = att;