• Home
  • Raw
  • Download

Lines Matching refs:mask

158         const int mask = 1<<i;  in scanline_core()  local
164 info.masked = !!(masking & mask); in scanline_core()
173 info.replaced = !!(mTextureMachine.replaced & mask); in scanline_core()
179 mBlending |= (info.blend ? mask : 0); in scanline_core()
180 mMasking |= (mCbFormat.c[i].h && info.masked) ? mask : 0; in scanline_core()
181 fbComponents |= mCbFormat.c[i].h ? mask : 0; in scanline_core()
263 const int mask = GGL_DITHER_SIZE-1; in scanline_core() local
265 AND(AL, 0, parts.dither.reg, parts.count.reg, imm(mask)); in scanline_core()
523 need_extract |= (mTextureMachine.mask != mTextureMachine.replaced); in build_incoming_component()
608 if ((tmu.mask & component_mask) && in build_incoming_component()
724 const fragment_parts_t& parts, uint32_t mask) in build_depth_test() argument
726 mask &= Z_TEST|Z_WRITE; in build_depth_test()
748 mask &= ~Z_TEST; // test always passes. in build_depth_test()
755 if ((mask & Z_WRITE) && !zmask) { in build_depth_test()
756 mask &= ~Z_WRITE; in build_depth_test()
759 if (!mask) in build_depth_test()
772 if (mask & Z_TEST) { in build_depth_test()
777 if (mask & Z_WRITE) { in build_depth_test()
778 if (mask == Z_WRITE) { in build_depth_test()
884 void GGLAssembler::build_and_immediate(int d, int s, uint32_t mask, int bits) in build_and_immediate() argument
888 mask &= size; in build_and_immediate()
890 if (mask == size) { in build_and_immediate()
901 AND( AL, 0, d, s, imm(mask) ); in build_and_immediate()
905 AND( AL, 0, d, s, imm(mask) ); in build_and_immediate()
909 int negative_logic = !isValidImmediate(mask); in build_and_immediate()
911 mask = ~mask & size; in build_and_immediate()
913 normalize(mask, rot); in build_and_immediate()
915 if (mask) { in build_and_immediate()
916 while (mask) { in build_and_immediate()
917 uint32_t bitpos = find_bottom(mask); in build_and_immediate()
919 uint32_t m = mask & (0xff << bitpos); in build_and_immediate()
920 mask &= ~m; in build_and_immediate()
950 int mask = 0; in build_masking() local
956 mask |= ((1<<(h-l))-1) << l; in build_masking()
969 build_and_immediate(pixel.reg, s.reg, mask, fb.size()); in build_masking()
975 build_and_immediate(fb.reg, fb.reg, ~mask, fb.size()); in build_masking()