Lines Matching defs:width
473 int width = scratches.obtain();
481 CONTEXT_LOAD(width, generated_vars.texture[i].width);
509 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
530 // compute width-1 and height-1
531 SUB(AL, 0, width, width, imm(1));
539 MOV(MI, 0, u, width);
540 CMP(AL, u, width);
541 MOV(LT, 0, width, imm(1 << shift));
543 MOV(GE, 0, width, reg_imm(width, LSL, shift));
544 RSB(GE, 0, width, width, imm(0));
548 // if ((u>>4) >= width)
549 // u = width<<4
550 // width = 0
552 // width = 1<<shift
556 // width = 0
557 // generated_vars.rt = width
559 CMP(AL, width, reg_imm(u, ASR, FRAC_BITS));
560 MOV(LE, 0, u, reg_imm(width, LSL, FRAC_BITS));
561 MOV(LE, 0, width, imm(0));
562 MOV(GT, 0, width, imm(1 << shift));
565 MOV(MI, 0, width, imm(0));
567 CONTEXT_STORE(width, generated_vars.rt);
569 const int stride = width;
598 scratches.recycle(width);