/external/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_blend.c | 130 uint32_t colormask; in etna_update_blend() local 134 colormask = rt0->colormask & (PIPE_MASK_A | PIPE_MASK_G); in etna_update_blend() 135 if (rt0->colormask & PIPE_MASK_R) in etna_update_blend() 136 colormask |= PIPE_MASK_B; in etna_update_blend() 137 if (rt0->colormask & PIPE_MASK_B) in etna_update_blend() 138 colormask |= PIPE_MASK_R; in etna_update_blend() 140 colormask = rt0->colormask; in etna_update_blend() 150 util_format_colormask_full(desc, colormask))); in etna_update_blend() 152 VIVS_PE_COLOR_FORMAT_COMPONENTS(colormask) | in etna_update_blend()
|
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/ |
D | fd2_blend.c | 96 if (rt->colormask & PIPE_MASK_R) in fd2_blend_state_create() 98 if (rt->colormask & PIPE_MASK_G) in fd2_blend_state_create() 100 if (rt->colormask & PIPE_MASK_B) in fd2_blend_state_create() 102 if (rt->colormask & PIPE_MASK_A) in fd2_blend_state_create()
|
/external/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_state.c | 65 cmask[0] = !!(cso->rt[0].colormask & PIPE_MASK_A) << 24 | in nv30_blend_state_create() 66 !!(cso->rt[0].colormask & PIPE_MASK_R) << 16 | in nv30_blend_state_create() 67 !!(cso->rt[0].colormask & PIPE_MASK_G) << 8 | in nv30_blend_state_create() 68 !!(cso->rt[0].colormask & PIPE_MASK_B); in nv30_blend_state_create() 74 cmask[1] |= !!(cso->rt[i].colormask & PIPE_MASK_A) << (0 + (i * 4)) | in nv30_blend_state_create() 75 !!(cso->rt[i].colormask & PIPE_MASK_R) << (1 + (i * 4)) | in nv30_blend_state_create() 76 !!(cso->rt[i].colormask & PIPE_MASK_G) << (2 + (i * 4)) | in nv30_blend_state_create() 77 !!(cso->rt[i].colormask & PIPE_MASK_B) << (3 + (i * 4)); in nv30_blend_state_create()
|
/external/virglrenderer/src/gallium/auxiliary/util/ |
D | u_format.h | 447 unsigned colormask; in util_format_colormask() local 454 colormask = 0; in util_format_colormask() 457 colormask |= (1 << chan); in util_format_colormask() 460 return colormask; in util_format_colormask() 477 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) in util_format_colormask_full() argument 479 return (~colormask & util_format_colormask(desc)) == 0; in util_format_colormask_full()
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_blend_cso.c | 155 pipe.colormask == 0xf; in panfrost_create_blend_state() 159 || pipe.colormask != 0xF; in panfrost_create_blend_state() 161 rt->no_colour = pipe.colormask == 0x0; in panfrost_create_blend_state()
|
D | pan_blending.c | 280 equation->color_mask = blend.colormask; in panfrost_make_fixed_blend_mode() 301 equation->color_mask = blend.colormask; in panfrost_make_fixed_blend_mode()
|
D | pan_blend_shaders.c | 124 options.colormask = blend->rt[i].colormask; in nir_make_options()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 52 c->fs_key->blend.colormask != 0xf || in blend_depends_on_dst_color() 500 uint32_t colormask = 0xffffffff; in vc4_nir_blend_pipeline() local 503 !(c->fs_key->blend.colormask & (1 << format_swiz[i]))) { in vc4_nir_blend_pipeline() 504 colormask &= ~(0xff << (i * 8)); in vc4_nir_blend_pipeline() 510 nir_imm_int(b, colormask)), in vc4_nir_blend_pipeline() 512 nir_imm_int(b, ~colormask))); in vc4_nir_blend_pipeline()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3dx_emit.c | 266 translate_colormask(struct v3d_context *v3d, uint32_t colormask, int rt) in translate_colormask() argument 269 colormask = ((colormask & (2 | 8)) | in translate_colormask() 270 ((colormask & 1) << 2) | in translate_colormask() 271 ((colormask & 4) >> 2)); in translate_colormask() 274 return (~colormask) & 0xf; in translate_colormask() 620 int rt_mask = blend->rt[rt].colormask; in v3dX()
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | nine_pipe.c | 190 blend.rt[0].colormask = rs[D3DRS_COLORWRITEENABLE]; in nine_convert_blend_state() 199 blend.rt[1].colormask = rs[D3DRS_COLORWRITEENABLE1]; in nine_convert_blend_state() 200 blend.rt[2].colormask = rs[D3DRS_COLORWRITEENABLE2]; in nine_convert_blend_state() 201 blend.rt[3].colormask = rs[D3DRS_COLORWRITEENABLE3]; in nine_convert_blend_state()
|
/external/mesa3d/src/mesa/swrast/ |
D | s_masking.c | 59 const GLubyte colormask[4] = { in _swrast_mask_rgba_span() local 66 memcpy(&srcMask, colormask, sizeof(srcMask)); in _swrast_mask_rgba_span()
|
D | s_clear.c | 261 const GLubyte colormask[4] = { in clear_color_buffers() local 267 clear_rgba_buffer(ctx, rb, colormask); in clear_color_buffers()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blend.c | 101 .component_enable = rt->colormask, in __fd6_setup_blend_variant() 182 if (rt->blend_enable || (rt->colormask != 0xf)) { in fd6_blend_state_create()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_driver.c | 135 const uint8_t colormask[4] = { in nouveau_clear() local 141 mask = pack_rgba_i(s->format, colormask); in nouveau_clear()
|
/external/mesa3d/src/gallium/drivers/panfrost/nir/ |
D | nir_lower_blend.h | 50 unsigned colormask; member
|
/external/mesa3d/src/gallium/drivers/zink/ |
D | zink_state.c | 251 if (rt->colormask & PIPE_MASK_R) in zink_create_blend_state() 253 if (rt->colormask & PIPE_MASK_G) in zink_create_blend_state() 255 if (rt->colormask & PIPE_MASK_B) in zink_create_blend_state() 257 if (rt->colormask & PIPE_MASK_A) in zink_create_blend_state()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 289 blend.rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in clear_with_quad() 457 unsigned colormask = in st_Clear() local 460 if (!colormask) in st_Clear() 469 ((colormask & surf_colormask) != surf_colormask)) in st_Clear()
|
D | st_atom_blend.c | 213 blend->rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i); in st_update_blend() 230 !blend->rt[i].colormask) in st_update_blend()
|
/external/mesa3d/src/util/format/ |
D | u_format.h | 644 unsigned colormask; in util_format_colormask() local 651 colormask = 0; in util_format_colormask() 654 colormask |= (1 << chan); in util_format_colormask() 657 return colormask; in util_format_colormask() 674 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) in util_format_colormask_full() argument 676 return (~colormask & util_format_colormask(desc)) == 0; in util_format_colormask_full()
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_blend.c | 833 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() 1005 if (blend->rt[blend_buf].colormask != 0xf) in blend_fallback() 1006 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/freedreno/a3xx/ |
D | fd3_blend.c | 95 A3XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask); in fd3_blend_state_create()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_blend.c | 95 A4XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask); in fd4_blend_state_create()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blend.c | 98 A5XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask); in fd5_blend_state_create()
|
/external/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_program.c | 85 p->blend.rt[0].colormask = PIPE_MASK_RGBA; in pp_init_prog()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_blend_aos.c | 424 if (!util_format_colormask_full(desc, state->colormask)) { in lp_build_blend_aos() 428 state->colormask, nr_channels, swizzle); in lp_build_blend_aos()
|