Lines Matching defs:mask

128         parts.packed = (!mTextureMachine.mask && !mBlending
142 // pre-mask the iterated color
145 uint32_t mask = 0;
152 mask |= ((1<<(h-l))-1) << l;
157 if (mMasking && ((mask & size)==0)) {
158 // none of the components are present in the mask
170 // pre-mask the iterated color
173 mask, bits);
269 mTextureMachine.mask = 0;
276 tmu.mask = 0;
294 tmu.mask = 0;
299 if (tmu.format.c[0].h) tmu.mask |= 0x1;
300 if (tmu.format.c[1].h) tmu.mask |= 0x2;
301 if (tmu.format.c[2].h) tmu.mask |= 0x4;
302 if (tmu.format.c[3].h) tmu.mask |= 0x8;
304 replaced |= tmu.mask;
308 tmu.mask = 0;
311 tmu.mask &= ~(1<<GGLFormat::ALPHA);
315 mTextureMachine.mask |= tmu.mask;
316 //printf("%d: mask=%08lx, replaced=%08lx\n",
317 // i, int(tmu.mask), int(tmu.replaced));
335 if (mTextureMachine.mask) {
397 mTextureMachine.replaced == tmu.mask)
769 // compute the mask
770 // XXX: it would be nice if the mask below could be computed
772 uint32_t mask = 0;
779 mask = 0x07E0F81F;
785 mask = 0x0F0F0F0F;
792 mask = 0x00FF00FF;
812 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift;
835 build_and_immediate(pixel, pixel, mask, 32);
850 build_and_immediate(pixel, pixel, mask, 32);
864 build_and_immediate(pixel, pixel, mask, 32);
877 build_and_immediate(pixel, pixel, mask, 32);
1011 int mask = scratches.obtain();
1013 MOV(AL, 0, mask, imm(0xFF));
1014 ORR(AL, 0, mask, mask, imm(0xFF0000));
1024 AND(AL, 0, temp, mask, pixel);
1031 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
1040 AND(AL, 0, temp, mask, pixel);
1047 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
1055 AND(AL, 0, temp, mask, pixel);
1062 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
1069 AND(AL, 0, temp, mask, pixel);
1071 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
1074 AND(AL, 0, dh, mask, reg_imm(dh, LSR, 8));
1075 AND(AL, 0, dl, dl, reg_imm(mask, LSL, 8));
1091 if (tmu.mask & component_mask) {
1188 // texel acts as a bit-mask