Lines Matching refs:temp
33 component_t& temp, // incomming fragment / output in build_fog() argument
41 integer_t fragment(temp.reg, temp.h, temp.flags); in build_fog()
42 if (!(temp.flags & CORRUPTIBLE)) { in build_fog()
43 temp.reg = regs.obtain(); in build_fog()
44 temp.flags |= CORRUPTIBLE; in build_fog()
60 build_blendFOneMinusF(temp, factor, fragment, fogColor); in build_fog()
65 component_t& temp, // incomming fragment / output in build_blending() argument
78 if (!temp.size()) { in build_blending()
82 temp = component_t(regs.obtain(), CORRUPTIBLE); in build_blending()
128 if (fb.size() < temp.size()) { in build_blending()
130 int new_size = temp.size() < 8 ? temp.size() : 8; in build_blending()
138 if (temp.l && (temp.flags & CORRUPTIBLE)) { in build_blending()
139 MOV(AL, 0, temp.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
140 temp.h -= temp.l; in build_blending()
141 temp.l = 0; in build_blending()
143 integer_t fragment(temp.reg, temp.size(), temp.flags); in build_blending()
146 if (temp.l) { in build_blending()
149 MOV(AL, 0, fragment.reg, reg_imm(temp.reg, LSR, temp.l)); in build_blending()
153 if (!(temp.flags & CORRUPTIBLE)) { in build_blending()
156 temp.reg = regs.obtain(); in build_blending()
157 temp.flags &= ~CORRUPTIBLE; in build_blending()
175 build_blendFOneMinusF(temp, factor, fragment, fb); in build_blending()
183 build_blendOneMinusFF(temp, factor, fragment, fb); in build_blending()
212 mul_factor(temp, fb, dst_factor); in build_blending()
218 component_add(temp, fb, fragment); // args order matters in build_blending()
219 component_sat(temp); in build_blending()
224 mul_factor_add(temp, fb, dst_factor, component_t(fragment)); in build_blending()
225 component_sat(temp); in build_blending()
232 mul_factor(temp, fragment, src_factor); in build_blending()
234 mul_factor_add(temp, fragment, src_factor, component_t(fb)); in build_blending()
235 component_sat(temp); in build_blending()
237 mul_factor(temp, fragment, src_factor); in build_blending()
243 mul_factor_add(temp, fb, dst_factor, temp); in build_blending()
245 component_sat(temp); in build_blending()
252 temp.flags |= CORRUPTIBLE; in build_blending()
437 component_t& temp, in build_blendFOneMinusF() argument
451 mul_factor_add(temp, diff, factor, component_t(fb)); in build_blendFOneMinusF()
455 component_t& temp, in build_blendOneMinusFF() argument
469 mul_factor_add(temp, diff, factor, component_t(fragment)); in build_blendOneMinusFF()
608 int temp = d.reg; in mul_factor_add() local
609 if (temp == add.reg) { in mul_factor_add()
611 if (v.flags & CORRUPTIBLE) temp = v.reg; in mul_factor_add()
612 else if (f.flags & CORRUPTIBLE) temp = f.reg; in mul_factor_add()
613 else temp = scratches.obtain(); in mul_factor_add()
616 if (vs<16 && fs<16) SMULBB(AL, temp, v.reg, f.reg); in mul_factor_add()
617 else MUL(AL, 0, temp, v.reg, f.reg); in mul_factor_add()
620 ADD(AL, 0, d.reg, temp, reg_imm(add.reg, LSL, ms-as)); in mul_factor_add()
623 ADD(AL, 0, d.reg, temp, reg_imm(add.reg, LSR, as-ms)); in mul_factor_add()