Lines Matching refs:mask

124         parts.packed = (!mTextureMachine.mask && !mBlending  in init_iterated_color()
141 uint32_t mask = 0; in init_iterated_color() local
148 mask |= ((1<<(h-l))-1) << l; in init_iterated_color()
153 if (mMasking && ((mask & size)==0)) { in init_iterated_color()
169 mask, bits); in init_iterated_color()
265 mTextureMachine.mask = 0; in decodeTMUNeeds()
272 tmu.mask = 0; in decodeTMUNeeds()
290 tmu.mask = 0; in decodeTMUNeeds()
295 if (tmu.format.c[0].h) tmu.mask |= 0x1; in decodeTMUNeeds()
296 if (tmu.format.c[1].h) tmu.mask |= 0x2; in decodeTMUNeeds()
297 if (tmu.format.c[2].h) tmu.mask |= 0x4; in decodeTMUNeeds()
298 if (tmu.format.c[3].h) tmu.mask |= 0x8; in decodeTMUNeeds()
300 replaced |= tmu.mask; in decodeTMUNeeds()
304 tmu.mask = 0; in decodeTMUNeeds()
307 tmu.mask &= ~(1<<GGLFormat::ALPHA); in decodeTMUNeeds()
311 mTextureMachine.mask |= tmu.mask; in decodeTMUNeeds()
331 if (mTextureMachine.mask) { in init_textures()
393 mTextureMachine.replaced == tmu.mask) in init_textures()
768 uint32_t mask = 0; in filter16() local
775 mask = 0x07E0F81F; in filter16()
781 mask = 0x0F0F0F0F; in filter16()
788 mask = 0x00FF00FF; in filter16()
808 const uint32_t offset = (mask & tmu.format.mask(i)) ? 0 : shift; in filter16()
831 build_and_immediate(pixel, pixel, mask, 32); in filter16()
846 build_and_immediate(pixel, pixel, mask, 32); in filter16()
860 build_and_immediate(pixel, pixel, mask, 32); in filter16()
873 build_and_immediate(pixel, pixel, mask, 32); in filter16()
907 int mask = scratches.obtain(); in filter32() local
909 MOV(AL, 0, mask, imm(0xFF)); in filter32()
910 ORR(AL, 0, mask, mask, imm(0xFF0000)); in filter32()
920 AND(AL, 0, temp, mask, pixel); in filter32()
927 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8)); in filter32()
936 AND(AL, 0, temp, mask, pixel); in filter32()
943 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8)); in filter32()
951 AND(AL, 0, temp, mask, pixel); in filter32()
958 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8)); in filter32()
965 AND(AL, 0, temp, mask, pixel); in filter32()
967 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8)); in filter32()
970 AND(AL, 0, dh, mask, reg_imm(dh, LSR, 8)); in filter32()
971 AND(AL, 0, dl, dl, reg_imm(mask, LSL, 8)); in filter32()
986 if (tmu.mask & component_mask) { in build_texture_environment()