/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_blend.c | 89 unsigned alpha_src_factor = rt->alpha_src_factor; in fd2_blend_state_create() local 90 if (alpha_src_factor == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE) in fd2_blend_state_create() 91 alpha_src_factor = PIPE_BLENDFACTOR_ONE; in fd2_blend_state_create() 94 A2XX_RB_BLEND_CONTROL_ALPHA_SRCBLEND(fd_blend_factor(alpha_src_factor)) | in fd2_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_blend.c | 93 blend->rt[0].rgb_src_factor != blend->rt[0].alpha_src_factor ? "true" : "false", in write_tsv_row() 102 util_str_blend_factor(blend->rt[0].alpha_src_factor, TRUE), in write_tsv_row() 126 "alpha_src_factor", util_str_blend_factor(blend->rt[0].alpha_src_factor, TRUE), in dump_blend_type() 370 compute_blend_ref_term(blend->rt[0].rgb_src_factor, blend->rt[0].alpha_src_factor, in compute_blend_ref() 643 const unsigned *alpha_src_factor; in test_all() local 653 …for(alpha_src_factor = blend_factors; alpha_src_factor < &blend_factors[num_factors]; ++alpha_src_… in test_all() 654 … for(alpha_dst_factor = blend_factors; alpha_dst_factor <= alpha_src_factor; ++alpha_dst_factor) { in test_all() 667 blend.rt[0].alpha_src_factor = *alpha_src_factor; in test_all() 694 const unsigned *alpha_src_factor; in test_some() local 705 alpha_src_factor = &blend_factors[rand() % num_factors]; in test_some() [all …]
|
D | lp_bld_blend_aos.c | 87 LLVMValueRef alpha_src_factor; member 374 state->alpha_src_factor == state->alpha_dst_factor) || in lp_build_blend_aos() 379 state->alpha_src_factor, in lp_build_blend_aos() 390 alpha_only ? state->alpha_src_factor : state->rgb_src_factor, in lp_build_blend_aos() 405 state->alpha_src_factor, in lp_build_blend_aos()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_blend.c | 259 blend->rt[i].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in st_update_blend() 263 blend->rt[i].alpha_src_factor = in st_update_blend() 277 rt->alpha_src_factor = fix_xrgb_alpha(rt->alpha_src_factor); in st_update_blend()
|
/third_party/mesa3d/src/panfrost/lib/tests/ |
D | test-blend.c | 213 .alpha_src_factor = BLEND_FACTOR_DST_COLOR, 234 .alpha_src_factor = BLEND_FACTOR_DST_ALPHA, 255 .alpha_src_factor = BLEND_FACTOR_DST_ALPHA,
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 67 rt0->alpha_src_factor == PIPE_BLENDFACTOR_ONE && in etna_blend_state_create() 77 !(rt0->rgb_src_factor == rt0->alpha_src_factor && in etna_blend_state_create() 86 VIVS_PE_ALPHA_CONFIG_SRC_FUNC_ALPHA(translate_blend_factor(rt0->alpha_src_factor)) | in etna_blend_state_create()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 120 blend_factor_constant_mask(eq.alpha_src_factor) | in pan_blend_constant_mask() 154 equation.alpha_src_factor, in pan_blend_can_fixed_function() 301 equation.alpha_src_factor == BLEND_FACTOR_ZERO && in pan_blend_is_opaque() 326 is_dest_factor(equation.alpha_src_factor, true) || in pan_blend_reads_dest() 361 equation.alpha_src_factor, in pan_blend_to_fixed_function_equation() 475 assert(rt_state->equation.alpha_src_factor < ARRAY_SIZE(factors)); in get_equation_str() 480 factors[rt_state->equation.alpha_src_factor], in get_equation_str() 566 options.rt[0].alpha.src_factor = rt_state->equation.alpha_src_factor; in GENX()
|
D | pan_blend.h | 49 enum blend_factor alpha_src_factor : 4; member
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | OutputMerger.cpp | 586 state.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState() 589 state.rt[0].alpha_src_factor = translateBlend(pDevice, pBlendDesc->SrcBlendAlpha); in CreateBlendState() 601 state.rt[i].alpha_src_factor = state.rt[0].alpha_src_factor; in CreateBlendState() 658 state.rt[i].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState1() 661 … state.rt[i].alpha_src_factor = translateBlend(pDevice, pBlendDesc->RenderTarget[i].SrcBlendAlpha); in CreateBlendState1()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blend.c | 96 .alpha_src_factor = fd_blend_factor(rt->alpha_src_factor), in __fd6_setup_blend_variant()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_dual_blend.h | 18 util_blend_factor_is_dual_src(blend->rt[index].alpha_src_factor) || in util_blend_state_is_dual()
|
D | u_blend.h | 140 util_blend_factor_uses_dest(rt.alpha_src_factor, true) || in util_blend_uses_dest()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_blend.c | 91 fd_blend_factor(rt->alpha_src_factor)) | in fd3_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_blend.c | 91 fd_blend_factor(rt->alpha_src_factor)) | in fd4_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blend.c | 94 fd_blend_factor(rt->alpha_src_factor)) | in fd5_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_draw.c | 534 … enum pipe_blendfactor alpha_src_factor, enum pipe_blendfactor alpha_dst_factor) in lima_calculate_alpha_blend() argument 539 if (alpha_src_factor == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE) in lima_calculate_alpha_blend() 540 alpha_src_factor = PIPE_BLENDFACTOR_ONE; in lima_calculate_alpha_blend() 553 (lima_blend_factor(alpha_src_factor) << 16) | in lima_calculate_alpha_blend() 554 (lima_blend_factor_is_inv(alpha_src_factor) << 19) | in lima_calculate_alpha_blend() 630 rt->alpha_src_factor, rt->alpha_dst_factor); in lima_pack_render_state()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 266 blend->alpha_src_factor); in vc4_do_blending_f() 333 blend->alpha_src_factor != blend->rgb_src_factor) { in vc4_do_blending_i() 338 blend->alpha_src_factor, in vc4_do_blending_i()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_program.c | 87 p->blend.rt[0].rgb_src_factor = p->blend.rt[0].alpha_src_factor = in pp_init_prog()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_pipe.c | 179 … blend.rt[0].alpha_src_factor = d3dblend_alpha_to_pipe_blendfactor(rs[D3DRS_SRCBLENDALPHA]); in nine_convert_blend_state() 184 blend.rt[0].alpha_src_factor = d3dblend_alpha_to_pipe_blendfactor(rs[D3DRS_SRCBLEND]); in nine_convert_blend_state()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_yuv.c | 48 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in xa_yuv_bind_blend_state()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 357 options.rt[rt].alpha.src_factor = rt_state->equation.alpha_src_factor; in panvk_lower_blend() 371 rt_state->equation.alpha_src_factor = BLEND_FACTOR_ZERO; in panvk_lower_blend()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 353 unsigned alpha_src_factor:5; /**< PIPE_BLENDFACTOR_x */ member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state.c | 115 cso->rt[i].alpha_src_factor != cso->rt[r].alpha_src_factor || in nvc0_blend_state_create() 155 SB_DATA (so, nvc0_blend_fac(cso->rt[i].alpha_src_factor)); in nvc0_blend_state_create() 166 SB_DATA (so, nvc0_blend_fac(cso->rt[r].alpha_src_factor)); in nvc0_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_state.c | 380 … att.srcAlphaBlendFactor = blend_factor(fix_blendfactor(rt->alpha_src_factor, cso->alpha_to_one)); in zink_create_blend_state() 386 need_blend_constants(rt->alpha_src_factor) || in zink_create_blend_state()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_matrix_filter.c | 166 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in vl_matrix_filter_init()
|