Lines Matching refs:eqRGB
172 static unsigned blend_discard_conditionally(unsigned eqRGB, unsigned eqA, in blend_discard_conditionally() argument
188 if ((eqRGB == PIPE_BLEND_ADD || eqRGB == PIPE_BLEND_REVERSE_SUBTRACT) && in blend_discard_conditionally()
271 static unsigned blend_read_enable(unsigned eqRGB, unsigned eqA, in blend_read_enable() argument
283 if (eqRGB == PIPE_BLEND_MIN || eqA == PIPE_BLEND_MIN || in blend_read_enable()
284 eqRGB == PIPE_BLEND_MAX || eqA == PIPE_BLEND_MAX || in blend_read_enable()
302 if (eqRGB != PIPE_BLEND_MIN && eqA != PIPE_BLEND_MIN && in blend_read_enable()
303 eqRGB != PIPE_BLEND_MAX && eqA != PIPE_BLEND_MAX) { in blend_read_enable()
355 const unsigned eqRGB = state->rt[0].rgb_func; in r300_create_blend_state() local
404 blend_eq = r300_translate_blend_function(eqRGB, TRUE); in r300_create_blend_state()
405 blend_eq_noclamp = r300_translate_blend_function(eqRGB, FALSE); in r300_create_blend_state()
413 blend_control |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
415 blend_control_noclamp |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
417 blend_control_noalpha |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
419 blend_control_noalpha_noclamp |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
424 blend_control |= blend_discard_conditionally(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
426 blend_control_noalpha |= blend_discard_conditionally(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
430 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r300_create_blend_state()
440 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) { in r300_create_blend_state()