Lines Matching refs:dstA
62 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
77 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
78 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
79 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
83 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
96 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
97 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
98 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
102 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
113 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_0()
117 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_1() argument
128 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_1()
132 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_color_0() argument
149 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_color_0()
150 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_color_0()
151 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_color_0()
155 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_color_1() argument
170 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_color_1()
171 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_color_1()
172 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_color_1()
176 unsigned dstRGB, unsigned dstA, in blend_discard_conditionally() argument
204 if (blend_discard_if_src_alpha_0(srcRGB, srcA, dstRGB, dstA)) { in blend_discard_conditionally()
207 dstRGB, dstA)) { in blend_discard_conditionally()
210 dstRGB, dstA)) { in blend_discard_conditionally()
213 dstRGB, dstA)) { in blend_discard_conditionally()
216 dstRGB, dstA)) { in blend_discard_conditionally()
220 dstRGB, dstA)) { in blend_discard_conditionally()
275 unsigned dstRGB, unsigned dstA, in blend_read_enable() argument
289 dstA != PIPE_BLENDFACTOR_ZERO || in blend_read_enable()
303 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_read_enable()
304 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_read_enable()
305 dstA == PIPE_BLENDFACTOR_ZERO) && in blend_read_enable()
316 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_read_enable()
317 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_read_enable()
318 dstA == PIPE_BLENDFACTOR_ZERO) && in blend_read_enable()
357 const unsigned dstA = state->rt[0].alpha_dst_factor; in r300_create_blend_state() local
409 blend_control |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
411 blend_control_noclamp |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
413 blend_control_noalpha |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
415 blend_control_noalpha_noclamp |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
420 blend_control |= blend_discard_conditionally(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
422 blend_control_noalpha |= blend_discard_conditionally(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
426 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r300_create_blend_state()
432 (r300_translate_blend_factor(dstA) << R300_DST_BLEND_SHIFT); in r300_create_blend_state()
436 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) { in r300_create_blend_state()
442 (r300_translate_blend_factor(dstA) << R300_DST_BLEND_SHIFT); in r300_create_blend_state()