Lines Matching refs:dstA
60 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
75 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
76 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
77 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
81 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
94 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
95 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
96 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
100 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
111 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_0()
115 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_1() argument
126 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_1()
130 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_color_0() argument
147 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_color_0()
148 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_color_0()
149 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_color_0()
153 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_color_1() argument
168 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_color_1()
169 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_color_1()
170 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_color_1()
174 unsigned dstRGB, unsigned dstA, in blend_discard_conditionally() argument
202 if (blend_discard_if_src_alpha_0(srcRGB, srcA, dstRGB, dstA)) { in blend_discard_conditionally()
205 dstRGB, dstA)) { in blend_discard_conditionally()
208 dstRGB, dstA)) { in blend_discard_conditionally()
211 dstRGB, dstA)) { in blend_discard_conditionally()
214 dstRGB, dstA)) { in blend_discard_conditionally()
218 dstRGB, dstA)) { in blend_discard_conditionally()
273 unsigned dstRGB, unsigned dstA, in blend_read_enable() argument
287 dstA != PIPE_BLENDFACTOR_ZERO || in blend_read_enable()
301 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_read_enable()
302 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_read_enable()
303 dstA == PIPE_BLENDFACTOR_ZERO) && in blend_read_enable()
314 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_read_enable()
315 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_read_enable()
316 dstA == PIPE_BLENDFACTOR_ZERO) && in blend_read_enable()
355 const unsigned dstA = state->rt[0].alpha_dst_factor; in r300_create_blend_state() local
407 blend_control |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
409 blend_control_noclamp |= blend_read_enable(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
411 blend_control_noalpha |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
413 blend_control_noalpha_noclamp |= blend_read_enable(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
418 blend_control |= blend_discard_conditionally(eqRGB, eqA, dstRGB, dstA, in r300_create_blend_state()
420 blend_control_noalpha |= blend_discard_conditionally(eqRGB, eqA, dstRGBX, dstA, in r300_create_blend_state()
424 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r300_create_blend_state()
430 (r300_translate_blend_factor(dstA) << R300_DST_BLEND_SHIFT); in r300_create_blend_state()
434 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) { in r300_create_blend_state()
440 (r300_translate_blend_factor(dstA) << R300_DST_BLEND_SHIFT); in r300_create_blend_state()