/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_blend.c | 92 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() 642 const unsigned *rgb_func; in test_all() local 652 for(rgb_func = blend_funcs; rgb_func < &blend_funcs[num_funcs]; ++rgb_func) { in test_all() 666 blend.rt[0].rgb_func = *rgb_func; in test_all() 693 const unsigned *rgb_func; in test_some() local 705 rgb_func = &blend_funcs[rand() % num_funcs]; in test_some() 722 blend.rt[0].rgb_func = *rgb_func; in test_some()
|
D | lp_bld_blend.c | 67 lp_build_blend_func_reverse(enum pipe_blend_func rgb_func, in lp_build_blend_func_reverse() argument 70 if (rgb_func == alpha_func) in lp_build_blend_func_reverse() 72 if (rgb_func == PIPE_BLEND_SUBTRACT && alpha_func == PIPE_BLEND_REVERSE_SUBTRACT) in lp_build_blend_func_reverse() 74 if (rgb_func == PIPE_BLEND_REVERSE_SUBTRACT && alpha_func == PIPE_BLEND_SUBTRACT) in lp_build_blend_func_reverse()
|
D | lp_bld_blend.h | 96 lp_build_blend_func_reverse(enum pipe_blend_func rgb_func,
|
D | lp_bld_blend_aos.c | 391 state->rgb_func, in lp_build_blend_aos() 401 if (state->rgb_func != state->alpha_func && nr_channels > 1 && in lp_build_blend_aos()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blend.c | 147 (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() 343 if (eq.rgb_func != BLEND_FUNC_ADD && in pan_blend_alpha_zero_nop() 344 eq.rgb_func != BLEND_FUNC_REVERSE_SUBTRACT) in pan_blend_alpha_zero_nop() 381 if (eq.rgb_func != BLEND_FUNC_ADD && in pan_blend_alpha_one_store() 382 eq.rgb_func != BLEND_FUNC_SUBTRACT) in pan_blend_alpha_one_store() 438 to_panfrost_function(equation.rgb_func, in pan_blend_to_fixed_function_equation() 540 assert(rt_state->equation.rgb_func < ARRAY_SIZE(funcs)); in get_equation_str() 547 funcs[rt_state->equation.rgb_func], in get_equation_str() [all …]
|
D | pan_blend.h | 42 enum blend_func rgb_func : 3; member
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 66 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/tests/ |
D | test-blend.c | 229 .rgb_func = BLEND_FUNC_ADD, 252 .rgb_func = BLEND_FUNC_ADD, 275 .rgb_func = BLEND_FUNC_ADD,
|
/third_party/mesa3d/src/gallium/frontends/d3d10umd/ |
D | OutputMerger.cpp | 573 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/freedreno/a2xx/ |
D | fd2_blend.c | 83 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/ |
D | fd3_blend.c | 87 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/ |
D | fd4_blend.c | 87 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/ |
D | fd5_blend.c | 90 A5XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd5_blend_state_create()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 281 ((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/drivers/lima/ |
D | lima_draw.c | 496 lima_calculate_alpha_blend(enum pipe_blend_func rgb_func, enum pipe_blend_func alpha_func, in lima_calculate_alpha_blend() argument 519 if (rgb_func == PIPE_BLEND_MIN || in lima_calculate_alpha_blend() 520 rgb_func == PIPE_BLEND_MAX) { in lima_calculate_alpha_blend() 525 return lima_blend_func(rgb_func) | in lima_calculate_alpha_blend() 602 render->alpha_blend = lima_calculate_alpha_blend(rt->rgb_func, rt->alpha_func, in lima_pack_render_state()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 131 options.rt[rt].rgb.func = rt_state->equation.rgb_func; in panvk_lower_blend() 145 rt_state->equation.rgb_func = BLEND_FUNC_ADD; in panvk_lower_blend()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | nine_pipe.c | 174 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/ |
D | fd6_blend.c | 93 .rgb_blend_opcode = blend_func(rt->rgb_func), in __fd6_setup_blend_variant()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state.c | 102 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/mesa/state_tracker/ |
D | st_atom_blend.c | 237 blend->rt[i].rgb_func = in st_update_blend()
|
/third_party/mesa3d/src/gallium/include/pipe/ |
D | p_state.h | 356 unsigned rgb_func:3; /**< PIPE_BLEND_x */ member
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mc.c | 403 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()
|
D | vl_matrix_filter.c | 162 blend.rt[0].rgb_func = PIPE_BLEND_ADD; in vl_matrix_filter_init()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_state.c | 111 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/ |
D | blend.rst | 115 rgb_func
|