Lines Matching defs:eqA
175 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA,
192 (eqA == PIPE_BLEND_ADD || eqA == 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) {
355 const unsigned eqA = state->rt[0].alpha_func;
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) {
433 alpha_blend_control |= r300_translate_blend_function(eqA, TRUE);
434 alpha_blend_control_noclamp |= r300_translate_blend_function(eqA, FALSE);
436 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) {
443 alpha_blend_control_noalpha |= r300_translate_blend_function(eqA, TRUE);
444 alpha_blend_control_noalpha_noclamp |= r300_translate_blend_function(eqA, FALSE);