/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_blend.c | 92 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false", in write_tsv_row() 101 util_str_blend_func(blend->rt[0].alpha_func, TRUE), in write_tsv_row() 125 "alpha_func", util_str_blend_func(blend->rt[0].alpha_func, TRUE), in dump_blend_type() 411 switch (blend->rt[0].alpha_func) { in compute_blend_ref() 642 const unsigned *alpha_func; in test_all() local 650 for(alpha_func = blend_funcs; alpha_func < &blend_funcs[num_funcs]; ++alpha_func) { in test_all() 666 blend.rt[0].alpha_func = *alpha_func; in test_all() 693 const unsigned *alpha_func; in test_some() local 703 alpha_func = &blend_funcs[rand() % num_funcs]; in test_some() 722 blend.rt[0].alpha_func = *alpha_func; in test_some()
|
D | lp_bld_blend.c | 67 lp_build_blend_func_reverse(unsigned rgb_func, unsigned alpha_func) in lp_build_blend_func_reverse() argument 69 if (rgb_func == alpha_func) in lp_build_blend_func_reverse() 71 if (rgb_func == PIPE_BLEND_SUBTRACT && alpha_func == PIPE_BLEND_REVERSE_SUBTRACT) in lp_build_blend_func_reverse() 73 if (rgb_func == PIPE_BLEND_REVERSE_SUBTRACT && alpha_func == PIPE_BLEND_SUBTRACT) in lp_build_blend_func_reverse()
|
D | lp_bld_blend.h | 97 unsigned alpha_func);
|
D | lp_bld_blend_aos.c | 399 if (state->rgb_func != state->alpha_func && nr_channels > 1 && in lp_build_blend_aos() 404 state->alpha_func, in lp_build_blend_aos()
|
/third_party/mesa3d/src/panfrost/lib/tests/ |
D | test-blend.c | 212 .alpha_func = BLEND_FUNC_ADD, 233 .alpha_func = BLEND_FUNC_ADD, 254 .alpha_func = BLEND_FUNC_ADD,
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 69 rt0->alpha_func == PIPE_BLEND_ADD); in etna_blend_state_create() 79 rt0->rgb_func == rt0->alpha_func); in etna_blend_state_create() 90 VIVS_PE_ALPHA_CONFIG_EQ_ALPHA(rt0->alpha_func); in etna_blend_state_create()
|
D | etnaviv_zsa.c | 103 VIVS_PE_ALPHA_OP_ALPHA_FUNC(so->alpha_func) | in etna_zsa_state_create()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 153 can_fixed_function_equation(equation.alpha_func, in pan_blend_can_fixed_function() 305 (equation.alpha_func == BLEND_FUNC_ADD || in pan_blend_is_opaque() 306 equation.alpha_func == BLEND_FUNC_SUBTRACT); in pan_blend_is_opaque() 360 to_panfrost_function(equation.alpha_func, in pan_blend_to_fixed_function_equation() 474 assert(rt_state->equation.alpha_func < ARRAY_SIZE(funcs)); in get_equation_str() 478 funcs[rt_state->equation.alpha_func], in get_equation_str() 565 options.rt[0].alpha.func = rt_state->equation.alpha_func; in GENX()
|
D | pan_blend.h | 47 enum blend_func alpha_func : 3; member
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_state_inlines.h | 171 static inline uint32_t r300_translate_alpha_function(int alpha_func) in r300_translate_alpha_function() argument 173 switch (alpha_func) { in r300_translate_alpha_function() 191 fprintf(stderr, "r300: Unknown alpha function %d", alpha_func); in r300_translate_alpha_function()
|
D | r300_emit.c | 88 uint32_t alpha_func = dsa->alpha_function; in r300_emit_dsa_state() local 92 if (is_r500 && (alpha_func & R300_FG_ALPHA_FUNC_ENABLE)) { in r300_emit_dsa_state() 98 alpha_func |= R500_FG_ALPHA_FUNC_FP16_ENABLE; in r300_emit_dsa_state() 100 alpha_func |= R500_FG_ALPHA_FUNC_8BIT; in r300_emit_dsa_state() 107 alpha_func |= R300_FG_ALPHA_FUNC_MASK_ENABLE | in r300_emit_dsa_state() 112 OUT_CS_REG(R300_FG_ALPHA_FUNC, alpha_func); in r300_emit_dsa_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_zsa.c | 192 if (cso->alpha_func != PIPE_FUNC_ALWAYS) { in fd6_zsa_state_create() 201 A6XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC(cso->alpha_func); in fd6_zsa_state_create()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_pipe.c | 68 dsa.alpha_func = d3dcmpfunc_to_pipe_func(rs[D3DRS_ALPHAFUNC]); in nine_convert_dsa_state() 178 blend.rt[0].alpha_func = d3dblendop_to_pipe_blend(rs[D3DRS_BLENDOPALPHA]); in nine_convert_blend_state() 183 blend.rt[0].alpha_func = blend.rt[0].rgb_func; in nine_convert_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_zsa.c | 88 so->rb_colorcontrol = A2XX_RB_COLORCONTROL_ALPHA_FUNC(cso->alpha_func) | in fd2_zsa_state_create()
|
D | fd2_blend.c | 95 A2XX_RB_BLEND_CONTROL_ALPHA_COMB_FCN(blend_func(rt->alpha_func)) | in fd2_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_zsa.c | 91 A3XX_RB_RENDER_CONTROL_ALPHA_TEST_FUNC(cso->alpha_func); in fd3_zsa_state_create()
|
D | fd3_blend.c | 93 blend_func(rt->alpha_func)) | in fd3_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_zsa.c | 95 A4XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC(cso->alpha_func); in fd4_zsa_state_create()
|
D | fd4_blend.c | 93 blend_func(rt->alpha_func)) | in fd4_blend_state_create()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 331 unsigned alpha_func:3; /**< PIPE_FUNC_x */ member 352 unsigned alpha_func:3; /**< PIPE_BLEND_x */ member
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_zsa.c | 112 A5XX_RB_ALPHA_CONTROL_ALPHA_TEST_FUNC(cso->alpha_func); in fd5_zsa_state_create()
|
D | fd5_blend.c | 96 blend_func(rt->alpha_func)) | in fd5_blend_state_create()
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | OutputMerger.cpp | 583 state.rt[0].alpha_func = translateBlendOp(pBlendDesc->BlendOpAlpha); in CreateBlendState() 600 state.rt[i].alpha_func = state.rt[0].alpha_func; in CreateBlendState() 655 state.rt[i].alpha_func = translateBlendOp(pBlendDesc->RenderTarget[i].BlendOpAlpha); in CreateBlendState1()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 282 blend->alpha_func)); in vc4_do_blending_f() 361 if (alpha_chan != 4 && blend->alpha_func != blend->rgb_func) { in vc4_do_blending_i() 365 blend->alpha_func); in vc4_do_blending_i()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_depth.c | 134 dsa->alpha_func = func_to_gallium(ctx->Color.AlphaFunc); in st_update_depth_stencil_alpha()
|