Home
last modified time | relevance | path

Searched refs:alpha_src_factor (Results 1 – 25 of 65) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c89 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/
Dlp_test_blend.c93 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 …]
Dlp_bld_blend_aos.c87 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/
Dst_atom_blend.c259 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/
Dtest-blend.c213 .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/
Detnaviv_blend.c67 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/
Dpan_blend.c120 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()
Dpan_blend.h49 enum blend_factor alpha_src_factor : 4; member
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp586 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/
Dfd6_blend.c96 .alpha_src_factor = fd_blend_factor(rt->alpha_src_factor), in __fd6_setup_blend_variant()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_dual_blend.h18 util_blend_factor_is_dual_src(blend->rt[index].alpha_src_factor) || in util_blend_state_is_dual()
Du_blend.h140 util_blend_factor_uses_dest(rt.alpha_src_factor, true) || in util_blend_uses_dest()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c91 fd_blend_factor(rt->alpha_src_factor)) | in fd3_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c91 fd_blend_factor(rt->alpha_src_factor)) | in fd4_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c94 fd_blend_factor(rt->alpha_src_factor)) | in fd5_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c534 … 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/
Dvc4_nir_lower_blend.c266 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/
Dpp_program.c87 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/
Dnine_pipe.c179 … 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/
Dxa_yuv.c48 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in xa_yuv_bind_blend_state()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c357 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/
Dp_state.h353 unsigned alpha_src_factor:5; /**< PIPE_BLENDFACTOR_x */ member
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c115 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/
Dzink_state.c380 … 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/
Dvl_matrix_filter.c166 blend.rt[0].alpha_src_factor = PIPE_BLENDFACTOR_ONE; in vl_matrix_filter_init()

123