/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_blend.c | 94 blend->rt[0].rgb_dst_factor != blend->rt[0].alpha_dst_factor ? "true" : "false"); in write_tsv_row() 100 util_str_blend_factor(blend->rt[0].rgb_dst_factor, TRUE), in write_tsv_row() 124 "rgb_dst_factor", util_str_blend_factor(blend->rt[0].rgb_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 *rgb_dst_factor; in test_all() local 655 … for(rgb_dst_factor = blend_factors; rgb_dst_factor <= rgb_src_factor; ++rgb_dst_factor) { in test_all() 660 if(*rgb_dst_factor == PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE || in test_all() 668 blend.rt[0].rgb_dst_factor = *rgb_dst_factor; in test_all() 695 const unsigned *rgb_dst_factor; in test_some() local 711 rgb_dst_factor = &blend_factors[rand() % num_factors]; in test_some() [all …]
|
D | lp_bld_blend_aos.c | 88 LLVMValueRef rgb_dst_factor; member 374 (state->rgb_src_factor == state->rgb_dst_factor && in lp_build_blend_aos() 385 dst_factor = lp_build_blend_factor(&bld, state->rgb_dst_factor, in lp_build_blend_aos() 393 alpha_only ? state->alpha_dst_factor : state->rgb_dst_factor, in lp_build_blend_aos()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 119 blend_factor_constant_mask(eq.rgb_dst_factor) | in pan_blend_constant_mask() 150 equation.rgb_dst_factor, in pan_blend_can_fixed_function() 297 equation.rgb_dst_factor == BLEND_FACTOR_ZERO && in pan_blend_is_opaque() 353 if (!is_factor_01(eq.rgb_dst_factor, eq.rgb_invert_dst_factor, 1, 0)) in pan_blend_alpha_zero_nop() 390 is_factor_01(eq.rgb_dst_factor, eq.rgb_invert_dst_factor, 0, 1) && in pan_blend_alpha_one_store() 412 equation.rgb_dst_factor != BLEND_FACTOR_ZERO || in pan_blend_reads_dest() 441 equation.rgb_dst_factor, in pan_blend_to_fixed_function_equation() 542 assert(rt_state->equation.rgb_dst_factor < ARRAY_SIZE(factors)); in get_equation_str() 551 factors[rt_state->equation.rgb_dst_factor], in get_equation_str() 648 options.rt[0].rgb.dst_factor = rt_state->equation.rgb_dst_factor; in GENX()
|
D | pan_blend.h | 46 enum blend_factor rgb_dst_factor : 4; member
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_blend.c | 244 blend->rt[i].rgb_dst_factor = PIPE_BLENDFACTOR_ONE; in st_update_blend() 249 blend->rt[i].rgb_dst_factor = in st_update_blend() 275 rt->rgb_dst_factor = fix_xrgb_alpha(rt->rgb_dst_factor); in st_update_blend()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 65 rt0->rgb_dst_factor == PIPE_BLENDFACTOR_ZERO && in etna_blend_state_create() 78 rt0->rgb_dst_factor == rt0->alpha_dst_factor && in etna_blend_state_create() 87 VIVS_PE_ALPHA_CONFIG_DST_FUNC_COLOR(translate_blend_factor(rt0->rgb_dst_factor)) | in etna_blend_state_create()
|
/third_party/mesa3d/src/panfrost/lib/tests/ |
D | test-blend.c | 232 .rgb_dst_factor= BLEND_FACTOR_ZERO, 255 .rgb_dst_factor= BLEND_FACTOR_ZERO, 278 .rgb_dst_factor= BLEND_FACTOR_ZERO,
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | OutputMerger.cpp | 577 state.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState() 580 state.rt[0].rgb_dst_factor = translateBlend(pDevice, pBlendDesc->DestBlend); in CreateBlendState() 599 state.rt[i].rgb_dst_factor = state.rt[0].rgb_dst_factor; in CreateBlendState() 649 state.rt[i].rgb_dst_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState1() 652 … state.rt[i].rgb_dst_factor = translateBlend(pDevice, pBlendDesc->RenderTarget[i].DestBlend); in CreateBlendState1()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_pipe.c | 147 blend->rt[0].rgb_dst_factor = (rs[D3DRS_SRCBLEND] == D3DBLEND_BOTHSRCALPHA) ? in nine_convert_blend_state_fixup() 150 blend->rt[0].alpha_dst_factor = blend->rt[0].rgb_dst_factor; in nine_convert_blend_state_fixup() 176 blend.rt[0].rgb_dst_factor = d3dblend_color_to_pipe_blendfactor(rs[D3DRS_DESTBLEND]); in nine_convert_blend_state()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_dual_blend.h | 19 util_blend_factor_is_dual_src(blend->rt[index].rgb_dst_factor) || in util_blend_state_is_dual()
|
D | u_blend.h | 141 rt.rgb_dst_factor != PIPE_BLENDFACTOR_ZERO || in util_blend_uses_dest()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_blend.c | 349 svga_translate_blend_factor(svga, templ->rt[j].rgb_dst_factor); in svga_create_blend_state() 393 templ->rt[0].rgb_dst_factor == PIPE_BLENDFACTOR_CONST_ALPHA || in svga_create_blend_state() 395 templ->rt[0].rgb_dst_factor == PIPE_BLENDFACTOR_INV_CONST_ALPHA) { in svga_create_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_blend.c | 85 fd_blend_factor(rt->rgb_dst_factor)); in fd2_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_blend.c | 89 fd_blend_factor(rt->rgb_dst_factor)) | in fd3_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 267 int dst_factor = ((i != 3) ? blend->rgb_dst_factor : in vc4_do_blending_f() 329 blend->rgb_dst_factor, in vc4_do_blending_i() 345 blend->alpha_dst_factor != blend->rgb_dst_factor) { in vc4_do_blending_i()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_blend.c | 89 fd_blend_factor(rt->rgb_dst_factor)) | in fd4_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blend.c | 92 fd_blend_factor(rt->rgb_dst_factor)) | in fd5_blend_state_create()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 134 options.rt[rt].rgb.dst_factor = rt_state->equation.rgb_dst_factor; in panvk_lower_blend() 148 rt_state->equation.rgb_dst_factor = BLEND_FACTOR_ZERO; in panvk_lower_blend()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_program.c | 89 p->blend.rt[0].rgb_dst_factor = p->blend.rt[0].alpha_dst_factor = in pp_init_prog()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_yuv.c | 49 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; in xa_yuv_bind_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_draw.c | 497 … enum pipe_blendfactor rgb_src_factor, enum pipe_blendfactor rgb_dst_factor, in lima_calculate_alpha_blend() argument 522 rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; in lima_calculate_alpha_blend() 528 (lima_blend_factor(rgb_dst_factor) << 11) | in lima_calculate_alpha_blend() 603 rt->rgb_src_factor, rt->rgb_dst_factor, in lima_pack_render_state()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blend.c | 94 .rgb_dest_factor = fd_blend_factor(rt->rgb_dst_factor), in __fd6_setup_blend_variant()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_blend.c | 543 switch (softpipe->blend->rt[blend_index].rgb_dst_factor) { in blend_quad() 1243 blend->rt[0].rgb_dst_factor == blend->rt[0].alpha_dst_factor && in choose_blend_quad() 1248 blend->rt[0].rgb_dst_factor == PIPE_BLENDFACTOR_ONE) { in choose_blend_quad() 1252 blend->rt[0].rgb_dst_factor == PIPE_BLENDFACTOR_INV_SRC_ALPHA) in choose_blend_quad()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 405 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; in init_pipe_state() 417 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ONE; in init_pipe_state()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 358 unsigned rgb_dst_factor:5; /**< PIPE_BLENDFACTOR_x */ member
|