Lines Matching refs:rt
722 if (state->rt[i].blend_enable) {
725 target_mask |= (state->rt[i].colormask << (4 * i));
729 if (state->rt[0].blend_enable) {
732 target_mask |= (state->rt[0].colormask << (4 * i));
746 /* state->rt entries > 0 only written if independent blending */
749 unsigned eqRGB = state->rt[j].rgb_func;
750 unsigned srcRGB = state->rt[j].rgb_src_factor;
751 unsigned dstRGB = state->rt[j].rgb_dst_factor;
753 unsigned eqA = state->rt[j].alpha_func;
754 unsigned srcA = state->rt[j].alpha_src_factor;
755 unsigned dstA = state->rt[j].alpha_dst_factor;
758 if (!state->rt[j].blend_enable)
2653 blend.rt[i].colormask = 0xf;
2654 blend.rt[i].blend_enable = 1;
2655 blend.rt[i].rgb_func = PIPE_BLEND_ADD;
2656 blend.rt[i].alpha_func = PIPE_BLEND_ADD;
2657 blend.rt[i].rgb_src_factor = PIPE_BLENDFACTOR_ZERO;
2658 blend.rt[i].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO;
2659 blend.rt[i].alpha_src_factor = PIPE_BLENDFACTOR_ZERO;
2660 blend.rt[i].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO;
2673 blend.rt[0].colormask = 0xf;
2685 blend.rt[0].colormask = 0xf;