Home
last modified time | relevance | path

Searched refs:alpha_dst_factor (Results 1 – 25 of 60) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c94 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false"); in write_tsv_row()
103 util_str_blend_factor(blend->rt[0].alpha_dst_factor, TRUE)); in write_tsv_row()
127 "alpha_dst_factor", util_str_blend_factor(blend->rt[0].alpha_dst_factor, TRUE)); in dump_blend_type()
372 compute_blend_ref_term(blend->rt[0].rgb_dst_factor, blend->rt[0].alpha_dst_factor, in compute_blend_ref()
644 const unsigned *alpha_dst_factor; in test_all() local
654 … for(alpha_dst_factor = blend_factors; alpha_dst_factor <= alpha_src_factor; ++alpha_dst_factor) { in test_all()
658 *alpha_dst_factor == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE) in test_all()
668 blend.rt[0].alpha_dst_factor = *alpha_dst_factor; in test_all()
695 const unsigned *alpha_dst_factor; in test_some() local
712 alpha_dst_factor = &blend_factors[rand() % num_factors]; in test_some()
[all …]
Dlp_bld_blend_aos.c89 LLVMValueRef alpha_dst_factor; member
374 state->alpha_src_factor == state->alpha_dst_factor) || in lp_build_blend_aos()
384 state->alpha_dst_factor, in lp_build_blend_aos()
391 alpha_only ? state->alpha_dst_factor : state->rgb_dst_factor, in lp_build_blend_aos()
406 state->alpha_dst_factor, in lp_build_blend_aos()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c260 blend->rt[i].alpha_dst_factor = PIPE_BLENDFACTOR_ONE; in st_update_blend()
265 blend->rt[i].alpha_dst_factor = in st_update_blend()
278 rt->alpha_dst_factor = fix_xrgb_alpha(rt->alpha_dst_factor); in st_update_blend()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c68 rt0->alpha_dst_factor == PIPE_BLENDFACTOR_ZERO && in etna_blend_state_create()
78 rt0->rgb_dst_factor == rt0->alpha_dst_factor && in etna_blend_state_create()
88 VIVS_PE_ALPHA_CONFIG_DST_FUNC_ALPHA(translate_blend_factor(rt0->alpha_dst_factor)) | in etna_blend_state_create()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c149 blend->rt[0].alpha_dst_factor = blend->rt[0].rgb_dst_factor; in nine_convert_blend_state_fixup()
154 blend->rt[0].alpha_dst_factor = (rs[D3DRS_SRCBLENDALPHA] == D3DBLEND_BOTHSRCALPHA) ? in nine_convert_blend_state_fixup()
179 … blend.rt[0].alpha_dst_factor = d3dblend_alpha_to_pipe_blendfactor(rs[D3DRS_DESTBLENDALPHA]); in nine_convert_blend_state()
184 blend.rt[0].alpha_dst_factor = d3dblend_alpha_to_pipe_blendfactor(rs[D3DRS_DESTBLEND]); in nine_convert_blend_state()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dual_blend.h20 util_blend_factor_is_dual_src(blend->rt[index].alpha_dst_factor)) in util_blend_state_is_dual()
Du_blend.h142 rt.alpha_dst_factor != PIPE_BLENDFACTOR_ZERO); in util_blend_uses_dest()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_dual_blend.h20 util_blend_factor_is_dual_src(blend->rt[index].alpha_dst_factor)) in util_blend_state_is_dual()
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blending.c264 panfrost_blend_factor_constant_mask(blend->alpha_dst_factor); in panfrost_blend_constant_mask()
297 blend.alpha_dst_factor, in panfrost_make_fixed_blend_mode()
Dpan_blend_shaders.c116 alpha.dst_factor = util_blend_factor_to_shader(blend->rt[i].alpha_dst_factor); in nir_make_options()
118 … alpha.invert_dst_factor = util_blend_factor_is_inverted(blend->rt[i].alpha_dst_factor); in nir_make_options()
Dpan_blend_cso.c152 pipe.alpha_dst_factor == PIPE_BLENDFACTOR_ZERO && in panfrost_create_blend_state()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c94 A2XX_RB_BLEND_CONTROL_ALPHA_DESTBLEND(fd_blend_factor(rt->alpha_dst_factor)); in fd2_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c91 A3XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR(fd_blend_factor(rt->alpha_dst_factor)); in fd3_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c90 A4XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR(fd_blend_factor(rt->alpha_dst_factor)); in fd4_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c93 A5XX_RB_MRT_BLEND_CONTROL_ALPHA_DEST_FACTOR(fd_blend_factor(rt->alpha_dst_factor)); in fd5_blend_state_create()
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c88 p->blend.rt[0].rgb_dst_factor = p->blend.rt[0].alpha_dst_factor = in pp_init_prog()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c275 blend->alpha_dst_factor); in vc4_do_blending_f()
352 blend->alpha_dst_factor != blend->rgb_dst_factor) { in vc4_do_blending_i()
357 blend->alpha_dst_factor, in vc4_do_blending_i()
/external/mesa3d/src/gallium/frontends/xa/
Dxa_yuv.c50 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; in xa_yuv_bind_blend_state()
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blend.c95 .alpha_dest_factor = fd_blend_factor(rt->alpha_dst_factor), in __fd6_setup_blend_variant()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c408 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ZERO; in init_pipe_state()
418 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ONE; in init_pipe_state()
424 blend.rt[0].alpha_dst_factor = PIPE_BLEND_REVERSE_SUBTRACT; in init_pipe_state()
Dvl_matrix_filter.c167 blend.rt[0].alpha_dst_factor = PIPE_BLENDFACTOR_ONE; in vl_matrix_filter_init()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h269 unsigned alpha_dst_factor:5; /**< PIPE_BLENDFACTOR_x */ member
/external/mesa3d/src/gallium/drivers/zink/
Dzink_state.c241 att.dstAlphaBlendFactor = blend_factor(rt->alpha_dst_factor); in zink_create_blend_state()
247 need_blend_constants(rt->alpha_dst_factor)) in zink_create_blend_state()
/external/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c527 … enum pipe_blendfactor alpha_src_factor, enum pipe_blendfactor alpha_dst_factor) in lima_calculate_alpha_blend() argument
549 (lima_blend_factor(alpha_dst_factor) << 20) | in lima_calculate_alpha_blend()
550 (lima_blend_factor_is_inv(alpha_dst_factor) << 23) | in lima_calculate_alpha_blend()
623 rt->alpha_src_factor, rt->alpha_dst_factor); in lima_pack_render_state()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h353 unsigned alpha_dst_factor:5; /**< PIPE_BLENDFACTOR_x */ member

123