Lines Matching refs:eqRGB
175 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA,
191 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) &&
274 static unsigned blend_read_enable(unsigned eqRGB, unsigned eqA,
286 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN ||
287 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX ||
298 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN &&
299 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) {
351 const unsigned eqRGB = state->rt[0].rgb_func;
400 blend_eq = r300_translate_blend_function(eqRGB, TRUE);
401 blend_eq_noclamp = r300_translate_blend_function(eqRGB, FALSE);
409 blend_control |= blend_read_enable(eqRGB, eqA, dstRGB, dstA,
411 blend_control_noclamp |= blend_read_enable(eqRGB, eqA, dstRGB, dstA,
413 blend_control_noalpha |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA,
415 blend_control_noalpha_noclamp |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA,
420 blend_control |= blend_discard_conditionally(eqRGB, eqA, dstRGB, dstA,
422 blend_control_noalpha |= blend_discard_conditionally(eqRGB, eqA, dstRGBX, dstA,
426 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) {
436 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) {