Home
last modified time | relevance | path

Searched refs:alpha_func (Results 1 – 25 of 55) sorted by relevance

123

/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()
101 util_str_blend_func(blend->rt[0].alpha_func, TRUE), in write_tsv_row()
125 "alpha_func", util_str_blend_func(blend->rt[0].alpha_func, TRUE), in dump_blend_type()
411 switch (blend->rt[0].alpha_func) { in compute_blend_ref()
642 const unsigned *alpha_func; in test_all() local
650 for(alpha_func = blend_funcs; alpha_func < &blend_funcs[num_funcs]; ++alpha_func) { in test_all()
666 blend.rt[0].alpha_func = *alpha_func; in test_all()
693 const unsigned *alpha_func; in test_some() local
703 alpha_func = &blend_funcs[rand() % num_funcs]; in test_some()
722 blend.rt[0].alpha_func = *alpha_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.h97 unsigned alpha_func);
Dlp_bld_blend_aos.c399 if (state->rgb_func != state->alpha_func && nr_channels > 1 && in lp_build_blend_aos()
404 state->alpha_func, in lp_build_blend_aos()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_state_inlines.h171 static inline uint32_t r300_translate_alpha_function(int alpha_func) in r300_translate_alpha_function() argument
173 switch (alpha_func) { in r300_translate_alpha_function()
191 fprintf(stderr, "r300: Unknown alpha function %d", alpha_func); in r300_translate_alpha_function()
Dr300_emit.c88 uint32_t alpha_func = dsa->alpha_function; in r300_emit_dsa_state() local
92 if (is_r500 && (alpha_func & R300_FG_ALPHA_FUNC_ENABLE)) { in r300_emit_dsa_state()
98 alpha_func |= R500_FG_ALPHA_FUNC_FP16_ENABLE; in r300_emit_dsa_state()
100 alpha_func |= R500_FG_ALPHA_FUNC_8BIT; in r300_emit_dsa_state()
107 alpha_func |= R300_FG_ALPHA_FUNC_MASK_ENABLE | in r300_emit_dsa_state()
112 OUT_CS_REG(R300_FG_ALPHA_FUNC, alpha_func); in r300_emit_dsa_state()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_blend.c90 A2XX_RB_BLEND_CONTROL_ALPHA_COMB_FCN(blend_func(rt->alpha_func)) | in fd2_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_blend.c110 A3XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(blend_func(rt->alpha_func)) | in fd3_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_blend.c109 A4XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(blend_func(rt->alpha_func)) | in fd4_blend_state_create()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_blend.c110 A5XX_RB_MRT_BLEND_CONTROL_ALPHA_BLEND_OPCODE(blend_func(rt->alpha_func)) | in fd5_blend_state_create()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c319 blend->alpha_func)); in vc4_do_blending_f()
398 if (alpha_chan != 4 && blend->alpha_func != blend->rgb_func) { in vc4_do_blending_i()
402 blend->alpha_func); in vc4_do_blending_i()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_fs.c344 key->fs.alpha_func = SVGA3D_CMP_ALWAYS; in make_fs_key()
348 key->fs.alpha_func = svga->curr.depth->alphafunc; in make_fs_key()
Dsvga_shader.h83 unsigned alpha_func:4; /**< SVGA3D_CMP_x */ member
Dsvga_pipe_blend.c280 svga_translate_blend_func(templ->rt[0].alpha_func); in svga_create_blend_state()
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_pipe.c173 blend.rt[0].alpha_func = d3dblendop_to_pipe_blend(rs[D3DRS_BLENDOPALPHA]); 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.c79 VIVS_PE_ALPHA_CONFIG_EQ_ALPHA(translate_blend(rt0->alpha_func)); in etna_blend_state_create()
/external/virglrenderer/src/gallium/include/pipe/
Dp_state.h266 unsigned alpha_func:3; /**< PIPE_BLEND_x */ member
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c234 blend->rt[i].alpha_func = in st_update_blend()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h333 unsigned alpha_func:3; /**< PIPE_BLEND_x */ member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c112 cso->rt[i].alpha_func != cso->rt[r].alpha_func || in nvc0_blend_state_create()
152 SB_DATA (so, nvgl_blend_eqn(cso->rt[i].alpha_func)); in nvc0_blend_state_create()
163 SB_DATA (so, nvgl_blend_eqn(cso->rt[r].alpha_func)); in nvc0_blend_state_create()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.h443 unsigned alpha_func:3; member
Dsi_state.h116 ubyte alpha_func:3; member
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c811 switch (softpipe->blend->rt[blend_index].alpha_func) { in blend_quad()
1242 blend->rt[0].rgb_func == blend->rt[0].alpha_func) in choose_blend_quad()
1244 if (blend->rt[0].alpha_func == PIPE_BLEND_ADD) { in choose_blend_quad()
/external/mesa3d/src/gallium/docs/source/cso/
Dblend.rst117 alpha_func
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c163 blend.rt[0].alpha_func = PIPE_BLEND_ADD; in vl_matrix_filter_init()

123