Home
last modified time | relevance | path

Searched refs:rgb_dst_factor (Results 1 – 25 of 63) sorted by relevance

123

/third_party/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()
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 …]
Dlp_bld_blend_aos.c88 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/
Dpan_blend.c119 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()
Dpan_blend.h46 enum blend_factor rgb_dst_factor : 4; member
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c244 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/
Detnaviv_blend.c65 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/
Dtest-blend.c232 .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/
DOutputMerger.cpp577 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/
Dnine_pipe.c147 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/
Du_dual_blend.h19 util_blend_factor_is_dual_src(blend->rt[index].rgb_dst_factor) || in util_blend_state_is_dual()
Du_blend.h141 rt.rgb_dst_factor != PIPE_BLENDFACTOR_ZERO || in util_blend_uses_dest()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blend.c349 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/
Dfd2_blend.c85 fd_blend_factor(rt->rgb_dst_factor)); in fd2_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c89 fd_blend_factor(rt->rgb_dst_factor)) | in fd3_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c267 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/
Dfd4_blend.c89 fd_blend_factor(rt->rgb_dst_factor)) | in fd4_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c92 fd_blend_factor(rt->rgb_dst_factor)) | in fd5_blend_state_create()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c134 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/
Dpp_program.c89 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/
Dxa_yuv.c49 blend.rt[0].rgb_dst_factor = PIPE_BLENDFACTOR_ZERO; in xa_yuv_bind_blend_state()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c497 … 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/
Dfd6_blend.c94 .rgb_dest_factor = fd_blend_factor(rt->rgb_dst_factor), in __fd6_setup_blend_variant()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c543 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/
Dvl_mc.c405 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/
Dp_state.h358 unsigned rgb_dst_factor:5; /**< PIPE_BLENDFACTOR_x */ member

123