Lines Matching full:mask
125 parts.packed = (!mTextureMachine.mask && !mBlending
139 // pre-mask the iterated color
142 uint32_t mask = 0;
149 mask |= ((1<<(h-l))-1) << l;
154 if (mMasking && ((mask & size)==0)) {
155 // none of the components are present in the mask
167 // pre-mask the iterated color
170 mask, bits);
266 mTextureMachine.mask = 0;
273 tmu.mask = 0;
291 tmu.mask = 0;
296 if (tmu.format.c[0].h) tmu.mask |= 0x1;
297 if (tmu.format.c[1].h) tmu.mask |= 0x2;
298 if (tmu.format.c[2].h) tmu.mask |= 0x4;
299 if (tmu.format.c[3].h) tmu.mask |= 0x8;
301 replaced |= tmu.mask;
305 tmu.mask = 0;
308 tmu.mask &= ~(1<<GGLFormat::ALPHA);
312 mTextureMachine.mask |= tmu.mask;
313 //printf("%d: mask=%08lx, replaced=%08lx\n",
314 // i, int(tmu.mask), int(tmu.replaced));
332 if (mTextureMachine.mask) {
394 mTextureMachine.replaced == tmu.mask)
749 // compute the mask
750 // XXX: it would be nice if the mask below could be computed
752 uint32_t mask = 0;
759 mask = 0x07E0F81F;
765 mask = 0x0F0F0F0F;
772 mask = 0x00FF00FF;
792 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift;
815 build_and_immediate(pixel, pixel, mask, 32);
830 build_and_immediate(pixel, pixel, mask, 32);
844 build_and_immediate(pixel, pixel, mask, 32);
857 build_and_immediate(pixel, pixel, mask, 32);
891 int mask = scratches.obtain();
893 MOV(AL, 0, mask, imm(0xFF));
894 ORR(AL, 0, mask, mask, imm(0xFF0000));
904 AND(AL, 0, temp, mask, pixel);
911 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
920 AND(AL, 0, temp, mask, pixel);
927 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
935 AND(AL, 0, temp, mask, pixel);
942 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
949 AND(AL, 0, temp, mask, pixel);
951 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
954 AND(AL, 0, dh, mask, reg_imm(dh, LSR, 8));
955 AND(AL, 0, dl, dl, reg_imm(mask, LSL, 8));
970 if (tmu.mask & component_mask) {
1066 // texel acts as a bit-mask