/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
fd2_blend.c | 91 if (rt->colormask & PIPE_MASK_R) 93 if (rt->colormask & PIPE_MASK_G) 95 if (rt->colormask & PIPE_MASK_B) 97 if (rt->colormask & PIPE_MASK_A)
|
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_blend.c | 70 bool full_overwrite = (rt0->colormask == 15) && !enable; 87 VIVS_PE_COLOR_FORMAT_COMPONENTS(rt0->colormask) |
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_blend.c | 164 if (memcmp(ctx->Color.ColorMask[0], ctx->Color.ColorMask[i], 4)) { 254 /* Colormask - maybe reverse these bits? */ 256 if (ctx->Color.ColorMask[i][0]) 257 blend->rt[i].colormask |= PIPE_MASK_R; 258 if (ctx->Color.ColorMask[i][1]) 259 blend->rt[i].colormask |= PIPE_MASK_G; 260 if (ctx->Color.ColorMask[i][2]) 261 blend->rt[i].colormask |= PIPE_MASK_B; 262 if (ctx->Color.ColorMask[i][3] [all...] |
st_cb_clear.c | 227 if (ctx->Color.ColorMask[i][0]) 228 blend.rt[i].colormask |= PIPE_MASK_R; 229 if (ctx->Color.ColorMask[i][1]) 230 blend.rt[i].colormask |= PIPE_MASK_G; 231 if (ctx->Color.ColorMask[i][2]) 232 blend.rt[i].colormask |= PIPE_MASK_B; 233 if (ctx->Color.ColorMask[i][3]) 234 blend.rt[i].colormask |= PIPE_MASK_A; 344 return !ctx->Color.ColorMask[i][0] && 345 !ctx->Color.ColorMask[i][1] & [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
nv30_state.c | 65 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 | 66 !!(cso->rt[0].colormask & PIPE_MASK_R) << 16 | 67 !!(cso->rt[0].colormask & PIPE_MASK_G) << 8 | 68 !!(cso->rt[0].colormask & PIPE_MASK_B); 74 cmask[1] |= !!(cso->rt[i].colormask & PIPE_MASK_A) << (0 + (i * 4)) | 75 !!(cso->rt[i].colormask & PIPE_MASK_R) << (1 + (i * 4)) | 76 !!(cso->rt[i].colormask & PIPE_MASK_G) << (2 + (i * 4)) | 77 !!(cso->rt[i].colormask & PIPE_MASK_B) << (3 + (i * 4));
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_blend.c | 120 A3XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
fd5_blend.c | 121 A5XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format.h | 603 * Give the RGBA colormask of the channels that can be represented in this 611 unsigned colormask; local 618 colormask = 0; 621 colormask |= (1 << chan); 624 return colormask; 637 * @param desc a format description to check colormask with 638 * @param colormask a bit mask for channels, matches format of PIPE_MASK_RGBA 641 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) 643 return (~colormask & util_format_colormask(desc)) == 0; [all...] |
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
pp_program.c | 85 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_blend.c | 121 A4XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
|
/external/mesa3d/src/gallium/state_trackers/nine/ |
nine_pipe.c | 185 blend.rt[0].colormask = rs[D3DRS_COLORWRITEENABLE]; 194 blend.rt[1].colormask = rs[D3DRS_COLORWRITEENABLE1]; 195 blend.rt[2].colormask = rs[D3DRS_COLORWRITEENABLE2]; 196 blend.rt[3].colormask = rs[D3DRS_COLORWRITEENABLE3];
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_yuv.c | 44 blend.rt[0].colormask = PIPE_MASK_RGBA;
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_bld_blend_aos.c | 411 if (!util_format_colormask_full(desc, state->colormask)) { 415 state->colormask, nr_channels, swizzle);
|
lp_test_blend.c | 669 blend.rt[0].colormask = PIPE_MASK_RGBA; 725 blend.rt[0].colormask = PIPE_MASK_RGBA;
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
sp_quad_blend.c | 833 colormask_quad(unsigned colormask, 838 if (!(colormask & PIPE_MASK_R)) 842 if (!(colormask & PIPE_MASK_G)) 846 if (!(colormask & PIPE_MASK_B)) 850 if (!(colormask & PIPE_MASK_A)) [all...] |
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_nir_lower_blend.c | 51 c->fs_key->blend.colormask != 0xf || 580 uint32_t colormask = 0xffffffff; local 583 !(c->fs_key->blend.colormask & (1 << format_swiz[i]))) { 584 colormask &= ~(0xff << (i * 8)); 590 nir_imm_int(b, colormask)), 592 nir_imm_int(b, ~colormask)));
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_deint_filter.c | 282 blend.rt[0].colormask = PIPE_MASK_R; 287 blend.rt[0].colormask = PIPE_MASK_G; 292 blend.rt[0].colormask = PIPE_MASK_B;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_pipe_blend.c | 152 * support independent blend enable and colormask per render target. 324 blend->rt[i].writemask = templ->rt[i].colormask; 327 blend->rt[i].writemask = templ->rt[0].colormask;
|
/external/mesa3d/src/gallium/drivers/i915/ |
i915_state.c | 151 if ((blend->rt[0].colormask & PIPE_MASK_R) == 0) 154 if ((blend->rt[0].colormask & PIPE_MASK_G) == 0) 157 if ((blend->rt[0].colormask & PIPE_MASK_B) == 0) 160 if ((blend->rt[0].colormask & PIPE_MASK_A) == 0) [all...] |
/external/mesa3d/src/gallium/include/pipe/ |
p_state.h | 316 unsigned colormask:4; /**< bitmask of PIPE_MASK_R/G/B/A */ member in struct:pipe_rt_blend_state
|
/external/mesa3d/src/gallium/tests/graw/ |
shader-leak.c | 234 blend.rt[0].colormask = PIPE_MASK_RGBA;
|
tri-gs.c | 239 blend.rt[0].colormask = PIPE_MASK_RGBA;
|
tri-instanced.c | 290 blend.rt[0].colormask = PIPE_MASK_RGBA;
|
graw_util.h | 156 blend.rt[0].colormask = PIPE_MASK_RGBA;
|
/external/mesa3d/src/gallium/tests/trivial/ |
tri.c | 147 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
|