Searched refs:colormask (Results 1 - 25 of 52) sorted by relevance

123

/external/mesa3d/src/mesa/state_tracker/
H A Dst_atom_blend.c257 blend->rt[i].colormask |= PIPE_MASK_R;
259 blend->rt[i].colormask |= PIPE_MASK_G;
261 blend->rt[i].colormask |= PIPE_MASK_B;
263 blend->rt[i].colormask |= PIPE_MASK_A;
H A Dst_cb_clear.c239 blend.rt[0].colormask |= PIPE_MASK_R;
241 blend.rt[0].colormask |= PIPE_MASK_G;
243 blend.rt[0].colormask |= PIPE_MASK_B;
245 blend.rt[0].colormask |= PIPE_MASK_A;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format.h521 * Give the RGBA colormask of the channels that can be represented in this
529 unsigned colormask; local
536 colormask = 0;
539 colormask |= (1 << chan);
542 return colormask;
555 * @param desc a format description to check colormask with
556 * @param colormask a bit mask for channels, matches format of PIPE_MASK_RGBA
559 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) argument
561 return (~colormask & util_format_colormask(desc)) == 0;
/external/mesa3d/src/gallium/drivers/nv30/
H A Dnv30_state.c63 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 |
64 !!(cso->rt[0].colormask & PIPE_MASK_R) << 16 |
65 !!(cso->rt[0].colormask & PIPE_MASK_G) << 8 |
66 !!(cso->rt[0].colormask & PIPE_MASK_B);
72 cmask[1] |= !!(cso->rt[i].colormask & PIPE_MASK_A) << (0 + (i * 4)) |
73 !!(cso->rt[i].colormask & PIPE_MASK_R) << (1 + (i * 4)) |
74 !!(cso->rt[i].colormask & PIPE_MASK_G) << (2 + (i * 4)) |
75 !!(cso->rt[i].colormask & PIPE_MASK_B) << (3 + (i * 4));
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_program.c87 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_aos.c331 fullcolormask = util_format_colormask_full(util_format_description(cbuf_format[rt]), state->colormask);
336 color_mask = lp_build_const_mask_aos_swizzled(gallivm, bld.base.type, state->colormask, swizzle);
H A Dlp_state_fs.c686 * \param rt the render target index (to index blend, colormask state)
742 if(blend->rt[rt].colormask & (1 << chan)) {
1085 /* which blend/colormask state to use */
1168 debug_printf("blend.colormask = 0x%x\n", key->blend.rt[0].colormask);
1248 fullcolormask = util_format_colormask_full(cbuf0_format_desc, key->blend.rt[0].colormask);
1609 blend_rt->colormask = lp->blend->rt[i].colormask;
1614 blend_rt->colormask &= util_format_colormask(format_desc);
H A Dlp_bld_blend_soa.c201 * \param rt render target index (to index the blend / colormask state)
234 if (blend->rt[rt].colormask & (1 << i)) {
/external/mesa3d/src/gallium/include/pipe/
H A Dp_state.h264 unsigned colormask:4; /**< bitmask of PIPE_MASK_R/G/B/A */ member in struct:pipe_rt_blend_state
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_yuv.c44 blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dxa_composite.c266 blend.rt[0].colormask = PIPE_MASK_RGBA;
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_quad_blend.c833 colormask_quad(unsigned colormask, argument
838 if (!(colormask & PIPE_MASK_R))
842 if (!(colormask & PIPE_MASK_G))
846 if (!(colormask & PIPE_MASK_B))
850 if (!(colormask & PIPE_MASK_A))
1006 if (blend->rt[blend_buf].colormask != 0xf)
1007 colormask_quad( blend->rt[cbuf].colormask, quadColor, dest);
1231 softpipe->blend->rt[0].colormask == 0xf &&
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state.c150 if ((blend->rt[0].colormask & PIPE_MASK_R) == 0)
153 if ((blend->rt[0].colormask & PIPE_MASK_G) == 0)
156 if ((blend->rt[0].colormask & PIPE_MASK_B) == 0)
159 if ((blend->rt[0].colormask & PIPE_MASK_A) == 0)
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_blend.c198 blend->rt[i].writemask = templ->rt[0].colormask;
/external/mesa3d/src/gallium/tests/graw/
H A Dshader-leak.c235 blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dtri-gs.c240 blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dtri-instanced.c291 blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dgraw_util.h156 blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dquad-sample.c362 blend.rt[0].colormask = PIPE_MASK_RGBA;
/external/mesa3d/src/gallium/tests/trivial/
H A Dtri.c147 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dquad-tex.c196 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_state.c121 if (cso->rt[i].colormask != cso->rt[0].colormask) {
171 SB_DATA(so, nvc0_colormask(cso->rt[i].colormask));
174 SB_DATA (so, nvc0_colormask(cso->rt[0].colormask));
/external/mesa3d/src/gallium/state_trackers/vega/
H A Drenderer.c399 blend.rt[0].colormask |= PIPE_MASK_R;
401 blend.rt[0].colormask |= PIPE_MASK_G;
403 blend.rt[0].colormask |= PIPE_MASK_B;
405 blend.rt[0].colormask |= PIPE_MASK_A;
1268 blend.rt[0].colormask = PIPE_MASK_RGBA;
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_matrix_filter.c185 blend.rt[0].colormask = PIPE_MASK_RGBA;
H A Dvl_median_filter.c271 blend.rt[0].colormask = PIPE_MASK_RGBA;

Completed in 1539 milliseconds

123