Home
last modified time | relevance | path

Searched refs:colormask (Results 1 – 25 of 53) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/nv30/
Dnv30_state.c63 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 | in nv30_blend_state_create()
64 !!(cso->rt[0].colormask & PIPE_MASK_R) << 16 | in nv30_blend_state_create()
65 !!(cso->rt[0].colormask & PIPE_MASK_G) << 8 | in nv30_blend_state_create()
66 !!(cso->rt[0].colormask & PIPE_MASK_B); in nv30_blend_state_create()
72 cmask[1] |= !!(cso->rt[i].colormask & PIPE_MASK_A) << (0 + (i * 4)) | in nv30_blend_state_create()
73 !!(cso->rt[i].colormask & PIPE_MASK_R) << (1 + (i * 4)) | in nv30_blend_state_create()
74 !!(cso->rt[i].colormask & PIPE_MASK_G) << (2 + (i * 4)) | in nv30_blend_state_create()
75 !!(cso->rt[i].colormask & PIPE_MASK_B) << (3 + (i * 4)); in nv30_blend_state_create()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_blend.c257 blend->rt[i].colormask |= PIPE_MASK_R; in update_blend()
259 blend->rt[i].colormask |= PIPE_MASK_G; in update_blend()
261 blend->rt[i].colormask |= PIPE_MASK_B; in update_blend()
263 blend->rt[i].colormask |= PIPE_MASK_A; in update_blend()
Dst_cb_clear.c239 blend.rt[0].colormask |= PIPE_MASK_R; in clear_with_quad()
241 blend.rt[0].colormask |= PIPE_MASK_G; in clear_with_quad()
243 blend.rt[0].colormask |= PIPE_MASK_B; in clear_with_quad()
245 blend.rt[0].colormask |= PIPE_MASK_A; in clear_with_quad()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.h529 unsigned colormask; in util_format_colormask() local
536 colormask = 0; in util_format_colormask()
539 colormask |= (1 << chan); in util_format_colormask()
542 return colormask; in util_format_colormask()
559 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) in util_format_colormask_full() argument
561 return (~colormask & util_format_colormask(desc)) == 0; in util_format_colormask_full()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c833 colormask_quad(unsigned colormask, in colormask_quad() argument
838 if (!(colormask & PIPE_MASK_R)) in colormask_quad()
842 if (!(colormask & PIPE_MASK_G)) in colormask_quad()
846 if (!(colormask & PIPE_MASK_B)) in colormask_quad()
850 if (!(colormask & PIPE_MASK_A)) in colormask_quad()
1006 if (blend->rt[blend_buf].colormask != 0xf) in blend_fallback()
1007 colormask_quad( blend->rt[cbuf].colormask, quadColor, dest); in blend_fallback()
1231 softpipe->blend->rt[0].colormask == 0xf && in choose_blend_quad()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c331 …colormask = util_format_colormask_full(util_format_description(cbuf_format[rt]), state->colormask); in lp_build_blend_aos()
336 … color_mask = lp_build_const_mask_aos_swizzled(gallivm, bld.base.type, state->colormask, swizzle); in lp_build_blend_aos()
Dlp_state_fs.c742 if(blend->rt[rt].colormask & (1 << chan)) { in generate_blend()
1168 debug_printf("blend.colormask = 0x%x\n", key->blend.rt[0].colormask); in dump_fs_variant_key()
1248 fullcolormask = util_format_colormask_full(cbuf0_format_desc, key->blend.rt[0].colormask); in generate_variant()
1609 blend_rt->colormask = lp->blend->rt[i].colormask; in make_variant_key()
1614 blend_rt->colormask &= util_format_colormask(format_desc); in make_variant_key()
Dlp_bld_blend_soa.c234 if (blend->rt[rt].colormask & (1 << i)) { in lp_build_blend_soa()
Dlp_test_blend.c776 blend.rt[0].colormask = PIPE_MASK_RGBA; in test_all()
836 blend.rt[0].colormask = PIPE_MASK_RGBA; in test_some()
/external/mesa3d/src/gallium/docs/source/cso/
Dblend.rst98 color gets passed unmodified (but colormask still applies).
111 colormask
/external/mesa3d/src/gallium/auxiliary/postprocess/
Dpp_program.c87 p->blend.rt[0].colormask = PIPE_MASK_RGBA; in pp_init_prog()
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c44 blend.rt[0].colormask = PIPE_MASK_RGBA; in xa_yuv_bind_blend_state()
/external/mesa3d/src/gallium/drivers/i915/
Di915_state.c150 if ((blend->rt[0].colormask & PIPE_MASK_R) == 0) in i915_create_blend_state()
153 if ((blend->rt[0].colormask & PIPE_MASK_G) == 0) in i915_create_blend_state()
156 if ((blend->rt[0].colormask & PIPE_MASK_B) == 0) in i915_create_blend_state()
159 if ((blend->rt[0].colormask & PIPE_MASK_A) == 0) in i915_create_blend_state()
/external/mesa3d/src/gallium/include/pipe/
Dp_state.h264 unsigned colormask:4; /**< bitmask of PIPE_MASK_R/G/B/A */ member
/external/mesa3d/src/gallium/state_trackers/vega/
Drenderer.c399 blend.rt[0].colormask |= PIPE_MASK_R; in renderer_set_blend()
401 blend.rt[0].colormask |= PIPE_MASK_G; in renderer_set_blend()
403 blend.rt[0].colormask |= PIPE_MASK_B; in renderer_set_blend()
405 blend.rt[0].colormask |= PIPE_MASK_A; in renderer_set_blend()
1268 blend.rt[0].colormask = PIPE_MASK_RGBA; in renderer_validate_blend()
/external/mesa3d/src/gallium/drivers/nvc0/
Dnvc0_state.c121 if (cso->rt[i].colormask != cso->rt[0].colormask) { in nvc0_blend_state_create()
171 SB_DATA(so, nvc0_colormask(cso->rt[i].colormask)); in nvc0_blend_state_create()
174 SB_DATA (so, nvc0_colormask(cso->rt[0].colormask)); in nvc0_blend_state_create()
/external/mesa3d/src/gallium/tests/graw/
Dtri-gs.c240 blend.rt[0].colormask = PIPE_MASK_RGBA; in init()
Dshader-leak.c235 blend.rt[0].colormask = PIPE_MASK_RGBA; in init()
Dtri-instanced.c291 blend.rt[0].colormask = PIPE_MASK_RGBA; in init()
Dquad-sample.c362 blend.rt[0].colormask = PIPE_MASK_RGBA; in init()
Dgraw_util.h156 blend.rt[0].colormask = PIPE_MASK_RGBA; in graw_util_default_state()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blend.c198 blend->rt[i].writemask = templ->rt[0].colormask; in svga_create_blend_state()
/external/mesa3d/src/gallium/tests/trivial/
Dtri.c147 p->blend.rt[0].colormask = PIPE_MASK_RGBA; in init_prog()
Dquad-tex.c196 p->blend.rt[0].colormask = PIPE_MASK_RGBA; in init_prog()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_matrix_filter.c185 blend.rt[0].colormask = PIPE_MASK_RGBA; in vl_matrix_filter_init()

123