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

1234567

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/panfrost/
H A Dpan_blending.h32 bool panfrost_make_fixed_blend_mode(const struct pipe_rt_blend_state *blend, struct mali_blend_equation *out, unsigned colormask, const struct pipe_blend_color *blend_color);
H A Dpan_blending.c359 .colormask = PIPE_MASK_RGBA
363 panfrost_make_fixed_blend_mode(const struct pipe_rt_blend_state *blend, struct mali_blend_equation *out, unsigned colormask, const struct pipe_blend_color *blend_color) argument
368 return panfrost_make_fixed_blend_mode(&default_blend, out, colormask, blend_color);
398 out->color_mask = colormask;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.c118 uint32_t colormask; local in function:etna_update_blend
122 colormask = rt0->colormask & (PIPE_MASK_A | PIPE_MASK_G);
123 if (rt0->colormask & PIPE_MASK_R)
124 colormask |= PIPE_MASK_B;
125 if (rt0->colormask & PIPE_MASK_B)
126 colormask |= PIPE_MASK_R;
128 colormask = rt0->colormask;
138 util_format_colormask_full(desc, colormask)));
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_blend.c130 uint32_t colormask; local in function:etna_update_blend
134 colormask = rt0->colormask & (PIPE_MASK_A | PIPE_MASK_G);
135 if (rt0->colormask & PIPE_MASK_R)
136 colormask |= PIPE_MASK_B;
137 if (rt0->colormask & PIPE_MASK_B)
138 colormask |= PIPE_MASK_R;
140 colormask = rt0->colormask;
150 util_format_colormask_full(desc, colormask)));
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_blend.h49 /* 4-bit colormask. 0x0 for none, 0xF for RGBA, 0x1 for R */
50 unsigned colormask; member in struct:__anonbef927490208
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_blend.c99 if (rt->colormask & PIPE_MASK_R)
101 if (rt->colormask & PIPE_MASK_G)
103 if (rt->colormask & PIPE_MASK_B)
105 if (rt->colormask & PIPE_MASK_A)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_blend.c96 if (rt->colormask & PIPE_MASK_R)
98 if (rt->colormask & PIPE_MASK_G)
100 if (rt->colormask & PIPE_MASK_B)
102 if (rt->colormask & PIPE_MASK_A)
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_masking.c59 const GLubyte colormask[4] = { local in function:_swrast_mask_rgba_span
66 memcpy(&srcMask, colormask, sizeof(srcMask));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.c65 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));
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_driver.c135 const uint8_t colormask[4] = { local in function:nouveau_clear
141 mask = pack_rgba_i(s->format, colormask);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_blend.c102 .component_enable = rt->colormask,
187 if (rt->blend_enable || (rt->colormask != 0xf)) {
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.c65 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));
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_masking.c59 const GLubyte colormask[4] = { local in function:_swrast_mask_rgba_span
66 memcpy(&srcMask, colormask, sizeof(srcMask));
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/nouveau/
H A Dnouveau_driver.c135 const uint8_t colormask[4] = { local in function:nouveau_clear
141 mask = pack_rgba_i(s->format, colormask);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_blend.c118 A3XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_blend.c99 A3XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_blend.c100 A4XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_blend.c103 A5XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c52 c->fs_key->blend.colormask != 0xf ||
500 uint32_t colormask = 0xffffffff; local in function:vc4_nir_blend_pipeline
503 !(c->fs_key->blend.colormask & (1 << format_swiz[i]))) {
504 colormask &= ~(0xff << (i * 8));
510 nir_imm_int(b, colormask)),
512 nir_imm_int(b, ~colormask)));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_format.h665 * Give the RGBA colormask of the channels that can be represented in this
673 unsigned colormask; local in function:util_format_colormask
680 colormask = 0;
683 colormask |= (1 << chan);
686 return colormask;
699 * @param desc a format description to check colormask with
700 * @param colormask a bit mask for channels, matches format of PIPE_MASK_RGBA
703 util_format_colormask_full(const struct util_format_description *desc, unsigned colormask) argument
705 return (~colormask & util_format_colormask(desc)) == 0;
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c52 c->fs_key->blend.colormask != 0xf ||
493 uint32_t colormask = 0xffffffff; local in function:vc4_nir_blend_pipeline
496 !(c->fs_key->blend.colormask & (1 << format_swiz[i]))) {
497 colormask &= ~(0xff << (i * 8));
503 nir_imm_int(b, colormask)),
505 nir_imm_int(b, ~colormask)));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dnine_pipe.c189 blend.rt[0].colormask = rs[D3DRS_COLORWRITEENABLE];
198 blend.rt[1].colormask = rs[D3DRS_COLORWRITEENABLE1];
199 blend.rt[2].colormask = rs[D3DRS_COLORWRITEENABLE2];
200 blend.rt[3].colormask = rs[D3DRS_COLORWRITEENABLE3];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/postprocess/
H A Dpp_program.c85 p->blend.rt[0].colormask = PIPE_MASK_RGBA;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_cb_clear.c288 blend.rt[i].colormask = GET_COLORMASK(ctx->Color.ColorMask, i);
452 unsigned colormask = local in function:st_Clear
455 if (!colormask)
463 ((colormask & surf_colormask) != surf_colormask))
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_blend.c119 A4XX_RB_MRT_CONTROL_COMPONENT_ENABLE(rt->colormask);

Completed in 18 milliseconds

1234567