Lines Matching defs:blend

175    switch (softpipe->blend->logicop_func) {
258 * \param const_blend_color the constant blend color
278 switch (softpipe->blend->rt[blend_index].rgb_src_factor) {
449 switch (softpipe->blend->rt[blend_index].alpha_src_factor) {
541 switch (softpipe->blend->rt[blend_index].rgb_dst_factor) {
701 switch (softpipe->blend->rt[blend_index].alpha_dst_factor) {
778 switch (softpipe->blend->rt[blend_index].rgb_func) {
805 assert(0 && "invalid rgb blend func");
811 switch (softpipe->blend->rt[blend_index].alpha_func) {
828 assert(0 && "invalid alpha blend func");
924 const struct pipe_blend_state *blend = softpipe->blend;
932 /* which blend/mask state index to use: */
933 const uint blend_buf = blend->independent_blend_enable ? cbuf : 0;
941 const boolean dual_source_blend = util_blend_state_is_dual(blend, cbuf);
988 if (blend->logicop_enable) {
993 else if (blend->rt[blend_buf].blend_enable) {
1006 if (blend->rt[blend_buf].colormask != 0xf)
1007 colormask_quad( blend->rt[cbuf].colormask, quadColor, dest);
1222 const struct pipe_blend_state *blend = softpipe->blend;
1230 else if (!softpipe->blend->logicop_enable &&
1231 softpipe->blend->rt[0].colormask == 0xf &&
1234 if (!blend->rt[0].blend_enable) {
1237 else if (blend->rt[0].rgb_src_factor == blend->rt[0].alpha_src_factor &&
1238 blend->rt[0].rgb_dst_factor == blend->rt[0].alpha_dst_factor &&
1239 blend->rt[0].rgb_func == blend->rt[0].alpha_func)
1241 if (blend->rt[0].alpha_func == PIPE_BLEND_ADD) {
1242 if (blend->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_ONE &&
1243 blend->rt[0].rgb_dst_factor == PIPE_BLENDFACTOR_ONE) {
1246 else if (blend->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_SRC_ALPHA &&
1247 blend->rt[0].rgb_dst_factor == PIPE_BLENDFACTOR_INV_SRC_ALPHA)