• Home
  • Raw
  • Download

Lines Matching refs:srcRGB

59 static boolean blend_discard_if_src_alpha_0(unsigned srcRGB, unsigned srcA,  in blend_discard_if_src_alpha_0()  argument
66 return (srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_0()
67 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_0()
68 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_0()
80 static boolean blend_discard_if_src_alpha_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_1() argument
87 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_1()
88 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_1()
99 static boolean blend_discard_if_src_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_0() argument
106 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_color_0()
107 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_color_0()
114 static boolean blend_discard_if_src_color_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_color_1() argument
121 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_color_1()
122 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_color_1()
129 static boolean blend_discard_if_src_alpha_color_0(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_color_0() argument
136 return (srcRGB == PIPE_BLENDFACTOR_SRC_COLOR || in blend_discard_if_src_alpha_color_0()
137 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA || in blend_discard_if_src_alpha_color_0()
138 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in blend_discard_if_src_alpha_color_0()
139 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_color_0()
152 static boolean blend_discard_if_src_alpha_color_1(unsigned srcRGB, unsigned srcA, in blend_discard_if_src_alpha_color_1() argument
159 return (srcRGB == PIPE_BLENDFACTOR_INV_SRC_COLOR || in blend_discard_if_src_alpha_color_1()
160 srcRGB == PIPE_BLENDFACTOR_INV_SRC_ALPHA || in blend_discard_if_src_alpha_color_1()
161 srcRGB == PIPE_BLENDFACTOR_ZERO) && in blend_discard_if_src_alpha_color_1()
175 unsigned srcRGB, unsigned srcA) in blend_discard_conditionally() argument
202 if (blend_discard_if_src_alpha_0(srcRGB, srcA, dstRGB, dstA)) { in blend_discard_conditionally()
204 } else if (blend_discard_if_src_alpha_1(srcRGB, srcA, in blend_discard_conditionally()
207 } else if (blend_discard_if_src_color_0(srcRGB, srcA, in blend_discard_conditionally()
210 } else if (blend_discard_if_src_color_1(srcRGB, srcA, in blend_discard_conditionally()
213 } else if (blend_discard_if_src_alpha_color_0(srcRGB, srcA, in blend_discard_conditionally()
217 } else if (blend_discard_if_src_alpha_color_1(srcRGB, srcA, in blend_discard_conditionally()
274 unsigned srcRGB, unsigned srcA, in blend_read_enable() argument
288 srcRGB == PIPE_BLENDFACTOR_DST_COLOR || in blend_read_enable()
289 srcRGB == PIPE_BLENDFACTOR_DST_ALPHA || in blend_read_enable()
290 srcRGB == PIPE_BLENDFACTOR_INV_DST_COLOR || in blend_read_enable()
291 srcRGB == PIPE_BLENDFACTOR_INV_DST_ALPHA || in blend_read_enable()
296 srcRGB == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE) { in blend_read_enable()
311 (srcRGB != PIPE_BLENDFACTOR_DST_COLOR && in blend_read_enable()
312 srcRGB != PIPE_BLENDFACTOR_DST_ALPHA && in blend_read_enable()
313 srcRGB != PIPE_BLENDFACTOR_INV_DST_COLOR && in blend_read_enable()
314 srcRGB != PIPE_BLENDFACTOR_INV_DST_ALPHA)) { in blend_read_enable()
324 (srcRGB != PIPE_BLENDFACTOR_DST_COLOR && in blend_read_enable()
325 srcRGB != PIPE_BLENDFACTOR_DST_ALPHA && in blend_read_enable()
326 srcRGB != PIPE_BLENDFACTOR_INV_DST_COLOR && in blend_read_enable()
327 srcRGB != PIPE_BLENDFACTOR_INV_DST_ALPHA)) { in blend_read_enable()
357 const unsigned srcRGB = state->rt[0].rgb_src_factor; in r300_create_blend_state() local
364 unsigned srcRGBX = srcRGB; in r300_create_blend_state()
397 ( r300_translate_blend_factor(srcRGB) << R300_SRC_BLEND_SHIFT) | in r300_create_blend_state()
415 srcRGB, srcA, r300screen->caps.is_r500); in r300_create_blend_state()
417 srcRGB, srcA, FALSE); in r300_create_blend_state()
426 srcRGB, srcA); in r300_create_blend_state()
431 if (srcA != srcRGB || dstA != dstRGB || eqA != eqRGB) { in r300_create_blend_state()