/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() 99 util_str_blend_factor(blend->rt[0].rgb_src_factor, TRUE), in write_tsv_row() 123 "rgb_src_factor", util_str_blend_factor(blend->rt[0].rgb_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() 640 const unsigned *rgb_src_factor; in test_all() local 651 …for(rgb_src_factor = blend_factors; rgb_src_factor < &blend_factors[num_factors]; ++rgb_src_factor… in test_all() 652 … for(rgb_dst_factor = blend_factors; rgb_dst_factor <= rgb_src_factor; ++rgb_dst_factor) { in test_all() 664 blend.rt[0].rgb_src_factor = *rgb_src_factor; in test_all() 691 const unsigned *rgb_src_factor; in test_some() local 704 rgb_src_factor = &blend_factors[rand() % num_factors]; in test_some() [all …]
|
D | lp_bld_blend_aos.c | 86 LLVMValueRef rgb_src_factor; member 373 boolean rgb_alpha_same = (state->rgb_src_factor == state->rgb_dst_factor && in lp_build_blend_aos() 378 src_factor = lp_build_blend_factor(&bld, state->rgb_src_factor, in lp_build_blend_aos() 390 alpha_only ? state->alpha_src_factor : state->rgb_src_factor, in lp_build_blend_aos()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_blend.c | 243 blend->rt[i].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in st_update_blend() 247 blend->rt[i].rgb_src_factor = in st_update_blend() 275 rt->rgb_src_factor = fix_xrgb_alpha(rt->rgb_src_factor); in st_update_blend()
|
/third_party/mesa3d/src/panfrost/lib/tests/ |
D | test-blend.c | 208 .rgb_src_factor = BLEND_FACTOR_ZERO, 229 .rgb_src_factor = BLEND_FACTOR_ZERO, 250 .rgb_src_factor = BLEND_FACTOR_ZERO,
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 64 !(rt0->rgb_src_factor == PIPE_BLENDFACTOR_ONE && in etna_blend_state_create() 77 !(rt0->rgb_src_factor == rt0->alpha_src_factor && in etna_blend_state_create() 85 VIVS_PE_ALPHA_CONFIG_SRC_FUNC_COLOR(translate_blend_factor(rt0->rgb_src_factor)) | in etna_blend_state_create()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 118 return blend_factor_constant_mask(eq.rgb_src_factor) | in pan_blend_constant_mask() 148 equation.rgb_src_factor, in pan_blend_can_fixed_function() 295 return equation.rgb_src_factor == BLEND_FACTOR_ZERO && in pan_blend_is_opaque() 325 is_dest_factor(equation.rgb_src_factor, false) || in pan_blend_reads_dest() 354 equation.rgb_src_factor, in pan_blend_to_fixed_function_equation() 456 assert(rt_state->equation.rgb_src_factor < ARRAY_SIZE(factors)); in get_equation_str() 464 factors[rt_state->equation.rgb_src_factor], in get_equation_str() 561 options.rt[0].rgb.src_factor = rt_state->equation.rgb_src_factor; in GENX()
|
D | pan_blend.h | 44 enum blend_factor rgb_src_factor : 4; member
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | OutputMerger.cpp | 576 state.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState() 579 state.rt[0].rgb_src_factor = translateBlend(pDevice, pBlendDesc->SrcBlend); in CreateBlendState() 598 state.rt[i].rgb_src_factor = state.rt[0].rgb_src_factor; in CreateBlendState() 648 state.rt[i].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in CreateBlendState1() 651 state.rt[i].rgb_src_factor = translateBlend(pDevice, pBlendDesc->RenderTarget[i].SrcBlend); in CreateBlendState1()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blend.c | 93 i, .rgb_src_factor = fd_blend_factor(rt->rgb_src_factor), in __fd6_setup_blend_variant()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_dual_blend.h | 17 if (util_blend_factor_is_dual_src(blend->rt[index].rgb_src_factor) || in util_blend_state_is_dual()
|
D | u_blend.h | 139 (util_blend_factor_uses_dest(rt.rgb_src_factor, false) || in util_blend_uses_dest()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_blend.c | 82 fd_blend_factor(rt->rgb_src_factor)) | in fd2_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_blend.c | 86 fd_blend_factor(rt->rgb_src_factor)) | in fd3_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_blend.c | 86 fd_blend_factor(rt->rgb_src_factor)) | in fd4_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blend.c | 89 fd_blend_factor(rt->rgb_src_factor)) | in fd5_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_pipe_blend.c | 347 svga_translate_blend_factor(svga, templ->rt[j].rgb_src_factor); in svga_create_blend_state() 392 if (templ->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_CONST_ALPHA || in svga_create_blend_state() 394 templ->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_INV_CONST_ALPHA || in svga_create_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 265 int src_factor = ((i != 3) ? blend->rgb_src_factor : in vc4_do_blending_f() 324 blend->rgb_src_factor, in vc4_do_blending_i() 333 blend->alpha_src_factor != blend->rgb_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/drivers/lima/ |
D | lima_draw.c | 533 … enum pipe_blendfactor rgb_src_factor, enum pipe_blendfactor rgb_dst_factor, in lima_calculate_alpha_blend() argument 545 (lima_blend_factor(rgb_src_factor) << 6) | in lima_calculate_alpha_blend() 546 (lima_blend_factor_is_inv(rgb_src_factor) << 9) | in lima_calculate_alpha_blend() 547 (lima_blend_factor_has_alpha(rgb_src_factor) << 10) | in lima_calculate_alpha_blend() 629 rt->rgb_src_factor, rt->rgb_dst_factor, in lima_pack_render_state()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_yuv.c | 47 blend.rt[0].rgb_src_factor = PIPE_BLENDFACTOR_ONE; in xa_yuv_bind_blend_state()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_blend.c | 280 switch (softpipe->blend->rt[blend_index].rgb_src_factor) { in blend_quad() 1242 else if (blend->rt[0].rgb_src_factor == blend->rt[0].alpha_src_factor && in choose_blend_quad() 1247 if (blend->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_ONE && in choose_blend_quad() 1251 else if (blend->rt[0].rgb_src_factor == PIPE_BLENDFACTOR_SRC_ALPHA && in choose_blend_quad()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 352 options.rt[rt].rgb.src_factor = rt_state->equation.rgb_src_factor; in panvk_lower_blend() 366 rt_state->equation.rgb_src_factor = BLEND_FACTOR_ZERO; in panvk_lower_blend()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 349 unsigned rgb_src_factor:5; /**< PIPE_BLENDFACTOR_x */ member
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state.c | 112 cso->rt[i].rgb_src_factor != cso->rt[r].rgb_src_factor || in nvc0_blend_state_create() 152 SB_DATA (so, nvc0_blend_fac(cso->rt[i].rgb_src_factor)); in nvc0_blend_state_create() 163 SB_DATA (so, nvc0_blend_fac(cso->rt[r].rgb_src_factor)); in nvc0_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_state.c | 377 … att.srcColorBlendFactor = blend_factor(fix_blendfactor(rt->rgb_src_factor, cso->alpha_to_one)); in zink_create_blend_state() 384 if (need_blend_constants(rt->rgb_src_factor) || in zink_create_blend_state()
|