Home
last modified time | relevance | path

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

12

/external/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()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c85 A2XX_RB_BLEND_CONTROL_COLOR_COMB_FCN(blend_func(rt->rgb_func)) | in fd2_blend_state_create()
95 A2XX_RB_BLEND_CONTROL_COLOR_COMB_FCN(blend_func(rt->rgb_func)) | in fd2_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c105 A3XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd3_blend_state_create()
115 A3XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd3_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c104 A4XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd4_blend_state_create()
114 A4XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd4_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c105 A5XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd5_blend_state_create()
115 A5XX_RB_MRT_BLEND_CONTROL_RGB_BLEND_OPCODE(blend_func(rt->rgb_func)) | in fd5_blend_state_create()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c318 ((i != 3) ? blend->rgb_func : in vc4_do_blending_f()
397 vc4_blend_func_i(b, src_blend, dst_blend, blend->rgb_func); in vc4_do_blending_i()
398 if (alpha_chan != 4 && blend->alpha_func != blend->rgb_func) { in vc4_do_blending_i()
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_pipe.c169 blend.rt[0].rgb_func = d3dblendop_to_pipe_blend(rs[D3DRS_BLENDOP]); in nine_convert_blend_state()
178 blend.rt[0].alpha_func = blend.rt[0].rgb_func; in nine_convert_blend_state()
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_blend.c78 VIVS_PE_ALPHA_CONFIG_EQ_COLOR(translate_blend(rt0->rgb_func)) | in etna_blend_state_create()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h262 unsigned rgb_func:3; /**< PIPE_BLEND_x */ member
/external/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()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c218 blend->rt[i].rgb_func = in st_update_blend()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h329 unsigned rgb_func:3; /**< PIPE_BLEND_x */ member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c109 if (cso->rt[i].rgb_func != cso->rt[r].rgb_func || in nvc0_blend_state_create()
149 SB_DATA (so, nvgl_blend_eqn(cso->rt[i].rgb_func)); in nvc0_blend_state_create()
160 SB_DATA (so, nvgl_blend_eqn(cso->rt[r].rgb_func)); in nvc0_blend_state_create()
/external/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.c160 blend.rt[0].rgb_func = PIPE_BLEND_ADD; in vl_matrix_filter_init()
Dvl_median_filter.c271 blend.rt[0].rgb_func = PIPE_BLEND_ADD; in vl_median_filter_init()
Dvl_bicubic_filter.c271 blend.rt[0].rgb_func = PIPE_BLEND_ADD; in vl_bicubic_filter_init()
/external/mesa3d/src/gallium/docs/source/cso/
Dblend.rst111 rgb_func
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c107 unsigned eqRGB = blend->rt[0].rgb_func; in i915_create_blend_state()
164 unsigned funcRGB = blend->rt[0].rgb_func; in i915_create_blend_state()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blend.c274 svga_translate_blend_func(templ->rt[0].rgb_func); in svga_create_blend_state()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c778 switch (softpipe->blend->rt[blend_index].rgb_func) { in blend_quad()
1242 blend->rt[0].rgb_func == blend->rt[0].alpha_func) in choose_blend_quad()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c152 SB_DATA (so, nvgl_blend_eqn(cso->rt[i].rgb_func)); in nv50_blend_state_create()
167 SB_DATA (so, nvgl_blend_eqn(cso->rt[0].rgb_func)); in nv50_blend_state_create()

12