Lines Matching refs:temp
32 component_t& temp, // incomming fragment / output in build_fog() argument
40 integer_t fragment(temp.reg, temp.h, temp.flags); in build_fog()
41 if (!(temp.flags & CORRUPTIBLE)) { in build_fog()
42 temp.reg = regs.obtain(); in build_fog()
43 temp.flags |= CORRUPTIBLE; in build_fog()
59 build_blendFOneMinusF(temp, factor, fragment, fogColor); in build_fog()
64 component_t& temp, // incomming fragment / output in build_blending() argument
77 if (!temp.size()) { in build_blending()
81 temp = component_t(regs.obtain(), CORRUPTIBLE); in build_blending()
127 if (fb.size() < temp.size()) { in build_blending()
129 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending()
137 if (temp.l && (temp.flags & CORRUPTIBLE)) { in build_blending()
138 MOV(AL, 0, temp.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
139 temp.h -= temp.l; in build_blending()
140 temp.l = 0; in build_blending()
142 integer_t fragment(temp.reg, temp.size(), temp.flags); in build_blending()
145 if (temp.l) { in build_blending()
148 MOV(AL, 0, fragment.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
152 if (!(temp.flags & CORRUPTIBLE)) { in build_blending()
155 temp.reg = regs.obtain(); in build_blending()
156 temp.flags &= ~CORRUPTIBLE; in build_blending()
174 build_blendFOneMinusF(temp, factor, fragment, fb); in build_blending()
182 build_blendOneMinusFF(temp, factor, fragment, fb); in build_blending()
211 mul_factor(temp, fb, dst_factor); in build_blending()
217 component_add(temp, fb, fragment); // args order matters in build_blending()
218 component_sat(temp); in build_blending()
223 mul_factor_add(temp, fb, dst_factor, component_t(fragment)); in build_blending()
224 component_sat(temp); in build_blending()
231 mul_factor(temp, fragment, src_factor); in build_blending()
233 mul_factor_add(temp, fragment, src_factor, component_t(fb)); in build_blending()
234 component_sat(temp); in build_blending()
236 mul_factor(temp, fragment, src_factor); in build_blending()
242 mul_factor_add(temp, fb, dst_factor, temp); in build_blending()
244 component_sat(temp); in build_blending()
251 temp.flags |= CORRUPTIBLE; in build_blending()
436 component_t& temp, in build_blendFOneMinusF() argument
450 mul_factor_add(temp, diff, factor, component_t(fb)); in build_blendFOneMinusF()
454 component_t& temp, in build_blendOneMinusFF() argument
468 mul_factor_add(temp, diff, factor, component_t(fragment)); in build_blendOneMinusFF()
607 int temp = d.reg; in mul_factor_add() local
608 if (temp == add.reg) { in mul_factor_add()
610 if (v.flags & CORRUPTIBLE) temp = v.reg; in mul_factor_add()
611 else if (f.flags & CORRUPTIBLE) temp = f.reg; in mul_factor_add()
612 else temp = scratches.obtain(); in mul_factor_add()
615 if (vs<16 && fs<16) SMULBB(AL, temp, v.reg, f.reg); in mul_factor_add()
616 else MUL(AL, 0, temp, v.reg, f.reg); in mul_factor_add()
619 ADD(AL, 0, d.reg, temp, reg_imm(add.reg, LSL, ms-as)); in mul_factor_add()
622 ADD(AL, 0, d.reg, temp, reg_imm(add.reg, LSR, as-ms)); in mul_factor_add()