Lines Matching full:blend
375 struct pipe_blend_state blend;
396 memset(&blend, 0, sizeof blend);
397 blend.independent_blend_enable = 0;
398 blend.rt[0].blend_enable = 1;
399 blend.rt[0].rgb_func = PIPE_BLEND_ADD;
400 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_SRC_ALPHA;
401 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO;
402 blend.rt[0].alpha_func = PIPE_BLEND_ADD;
403 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_SRC_ALPHA;
404 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO;
405 blend.logicop_enable = 0;
406 blend.logicop_func = PIPE_LOGICOP_CLEAR;
407 blend.rt[0].colormask = i;
408 blend.dither = 0;
409 r->blend_clear[i] = r->pipe->create_blend_state(r->pipe, &blend);
413 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE;
414 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ONE;
415 r->blend_add[i] = r->pipe->create_blend_state(r->pipe, &blend);
419 blend.rt[0].rgb_func = PIPE_BLEND_REVERSE_SUBTRACT;
420 blend.rt[0].alpha_dst_factor = PIPE_BLEND_REVERSE_SUBTRACT;
421 r->blend_sub[i] = r->pipe->create_blend_state(r->pipe, &blend);