Lines Matching refs:dstA
59 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_0() argument
74 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_0()
75 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_0()
76 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_0()
80 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_1() argument
93 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_1()
94 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_1()
95 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_1()
99 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_0() argument
110 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_0()
114 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_color_1() argument
125 (dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_color_1()
129 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_color_0() argument
146 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_color_0()
147 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_color_0()
148 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_color_0()
152 unsigned dstRGB, unsigned dstA) in blend_discard_if_src_alpha_color_1() argument
167 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_color_1()
168 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_color_1()
169 dstA == PIPE_BLENDFACTOR_ONE); in blend_discard_if_src_alpha_color_1()
173 unsigned dstRGB, unsigned dstA, in blend_discard_conditionally() argument
201 if (blend_discard_if_src_alpha_0(srcRGB, srcA, dstRGB, dstA)) { in blend_discard_conditionally()
204 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()
217 dstRGB, dstA)) { in blend_discard_conditionally()
272 unsigned dstRGB, unsigned dstA, in blend_read_enable() argument
286 dstA != PIPE_BLENDFACTOR_ZERO || in blend_read_enable()
307 (dstA == PIPE_BLENDFACTOR_SRC_COLOR || in blend_read_enable()
308 dstA == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_read_enable()
309 dstA == PIPE_BLENDFACTOR_ZERO) && in blend_read_enable()
320 (dstA == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_read_enable()
321 dstA == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_read_enable()
322 dstA == PIPE_BLENDFACTOR_ZERO) && in blend_read_enable()
361 const unsigned dstA = state->rt[0].alpha_dst_factor; in r300_create_blend_state() local
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()
436 (r300_translate_blend_factor(dstA) << R300_DST_BLEND_SHIFT); in r300_create_blend_state()
440 if (srcA != srcRGBX || dstA != dstRGBX || eqA != eqRGB) { in r300_create_blend_state()
446 (r300_translate_blend_factor(dstA) << R300_DST_BLEND_SHIFT); in r300_create_blend_state()