Lines Matching refs:eqRGB
173 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA,
189 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) &&
272 static unsigned blend_read_enable(unsigned eqRGB, unsigned eqA,
284 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN ||
285 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX ||
303 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN &&
304 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) {
356 const unsigned eqRGB = state->rt[0].rgb_func;
405 blend_eq = r300_translate_blend_function(eqRGB, TRUE);
406 blend_eq_noclamp = r300_translate_blend_function(eqRGB, FALSE);
414 blend_control |= blend_read_enable(eqRGB, eqA, dstRGB, dstA,
416 blend_control_noclamp |= blend_read_enable(eqRGB, eqA, dstRGB, dstA,
418 blend_control_noalpha |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA,
420 blend_control_noalpha_noclamp |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA,
425 blend_control |= blend_discard_conditionally(eqRGB, eqA, dstRGB, dstA,
427 blend_control_noalpha |= blend_discard_conditionally(eqRGB, eqA, dstRGBX, dstA,
431 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
441 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) {