Home
last modified time | relevance | path

Searched refs:rgb_func (Results 1 – 25 of 59) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c92 blend->rt[0].rgb_func != blend->rt[0].alpha_func ? "true" : "false", in write_tsv_row()
98 util_str_blend_func(blend->rt[0].rgb_func, TRUE), in write_tsv_row()
122 "rgb_func", util_str_blend_func(blend->rt[0].rgb_func, TRUE), in dump_blend_type()
378 switch (blend->rt[0].rgb_func) { in compute_blend_ref()
639 const unsigned *rgb_func; in test_all() local
649 for(rgb_func = blend_funcs; rgb_func < &blend_funcs[num_funcs]; ++rgb_func) { in test_all()
663 blend.rt[0].rgb_func = *rgb_func; in test_all()
690 const unsigned *rgb_func; in test_some() local
702 rgb_func = &blend_funcs[rand() % num_funcs]; in test_some()
719 blend.rt[0].rgb_func = *rgb_func; in test_some()
Dlp_bld_blend.c67 lp_build_blend_func_reverse(unsigned rgb_func, unsigned alpha_func) in lp_build_blend_func_reverse() argument
69 if (rgb_func == alpha_func) in lp_build_blend_func_reverse()
71 if (rgb_func == PIPE_BLEND_SUBTRACT && alpha_func == PIPE_BLEND_REVERSE_SUBTRACT) in lp_build_blend_func_reverse()
73 if (rgb_func == PIPE_BLEND_REVERSE_SUBTRACT && alpha_func == PIPE_BLEND_SUBTRACT) in lp_build_blend_func_reverse()
Dlp_bld_blend.h96 lp_build_blend_func_reverse(unsigned rgb_func,
Dlp_bld_blend_aos.c389 state->rgb_func, in lp_build_blend_aos()
399 if (state->rgb_func != state->alpha_func && nr_channels > 1 && in lp_build_blend_aos()
/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-blend.c207 .rgb_func = BLEND_FUNC_ADD,
228 .rgb_func = BLEND_FUNC_ADD,
249 .rgb_func = BLEND_FUNC_ADD,
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c66 rt0->rgb_func == PIPE_BLEND_ADD && in etna_blend_state_create()
79 rt0->rgb_func == rt0->alpha_func); in etna_blend_state_create()
89 VIVS_PE_ALPHA_CONFIG_EQ_COLOR(rt0->rgb_func) | in etna_blend_state_create()
/third_party/mesa3d/src/panfrost/lib/
Dpan_blend.c147 (can_fixed_function_equation(equation.rgb_func, in pan_blend_can_fixed_function()
299 (equation.rgb_func == BLEND_FUNC_ADD || in pan_blend_is_opaque()
300 equation.rgb_func == BLEND_FUNC_SUBTRACT) && in pan_blend_is_opaque()
353 to_panfrost_function(equation.rgb_func, in pan_blend_to_fixed_function_equation()
455 assert(rt_state->equation.rgb_func < ARRAY_SIZE(funcs)); in get_equation_str()
462 funcs[rt_state->equation.rgb_func], in get_equation_str()
560 options.rt[0].rgb.func = rt_state->equation.rgb_func; in GENX()
Dpan_blend.h42 enum blend_func rgb_func : 3; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c83 A2XX_RB_BLEND_CONTROL_COLOR_COMB_FCN(blend_func(rt->rgb_func)) | in fd2_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c87 A3XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd3_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c87 A4XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd4_blend_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c90 A5XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd5_blend_state_create()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp573 state.rt[0].rgb_func = translateBlendOp(pBlendDesc->BlendOp); in CreateBlendState()
597 state.rt[i].rgb_func = state.rt[0].rgb_func; in CreateBlendState()
645 state.rt[i].rgb_func = translateBlendOp(pBlendDesc->RenderTarget[i].BlendOp); in CreateBlendState1()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c281 ((i != 3) ? blend->rgb_func : in vc4_do_blending_f()
360 vc4_blend_func_i(b, src_blend, dst_blend, blend->rgb_func); in vc4_do_blending_i()
361 if (alpha_chan != 4 && blend->alpha_func != blend->rgb_func) { in vc4_do_blending_i()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c174 blend.rt[0].rgb_func = d3dblendop_to_pipe_blend(rs[D3DRS_BLENDOP]); in nine_convert_blend_state()
183 blend.rt[0].alpha_func = blend.rt[0].rgb_func; in nine_convert_blend_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blend.c94 .rgb_blend_opcode = blend_func(rt->rgb_func), in __fd6_setup_blend_variant()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c102 SB_DATA (so, nvgl_blend_eqn(cso->rt[0].rgb_func)); in nv30_blend_state_create()
106 nvgl_blend_eqn(cso->rt[0].rgb_func)); in nv30_blend_state_create()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c351 options.rt[rt].rgb.func = rt_state->equation.rgb_func; in panvk_lower_blend()
365 rt_state->equation.rgb_func = BLEND_FUNC_ADD; in panvk_lower_blend()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c237 blend->rt[i].rgb_func = in st_update_blend()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h348 unsigned rgb_func:3; /**< PIPE_BLEND_x */ member
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c532 lima_calculate_alpha_blend(enum pipe_blend_func rgb_func, enum pipe_blend_func alpha_func, in lima_calculate_alpha_blend() argument
542 return lima_blend_func(rgb_func) | in lima_calculate_alpha_blend()
628 render->alpha_blend = lima_calculate_alpha_blend(rt->rgb_func, rt->alpha_func, in lima_pack_render_state()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mc.c403 blend.rt[0].rgb_func = PIPE_BLEND_ADD; in init_pipe_state()
423 blend.rt[0].rgb_func = PIPE_BLEND_REVERSE_SUBTRACT; in init_pipe_state()
Dvl_matrix_filter.c162 blend.rt[0].rgb_func = PIPE_BLEND_ADD; in vl_matrix_filter_init()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c111 if (cso->rt[i].rgb_func != cso->rt[r].rgb_func || in nvc0_blend_state_create()
151 SB_DATA (so, nvgl_blend_eqn(cso->rt[i].rgb_func)); in nvc0_blend_state_create()
162 SB_DATA (so, nvgl_blend_eqn(cso->rt[r].rgb_func)); in nvc0_blend_state_create()
/third_party/mesa3d/docs/gallium/cso/
Dblend.rst115 rgb_func

123