Lines Matching full:inst_add
159 struct rc_instruction *inst_mul, *inst_add, *inst_cmp;
206 inst_add = rc_insert_new_instruction(c, inst_mul);
207 inst_add->U.I.Opcode = RC_OPCODE_ADD;
208 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
209 inst_add->U.I.DstReg.Index = tmp_sum;
210 inst_add->U.I.DstReg.WriteMask = RC_MASK_W;
211 inst_add->U.I.SrcReg[0].File = RC_FILE_TEMPORARY;
212 inst_add->U.I.SrcReg[0].Index = tmp_sum;
213 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_WWWW;
214 inst_add->U.I.SrcReg[1].File = RC_FILE_TEMPORARY;
215 inst_add->U.I.SrcReg[1].Index = tmp_texsample;
216 inst_add->U.I.SrcReg[1].Swizzle = RC_SWIZZLE_XXXX;
230 inst_add->U.I.SrcReg[1].Negate = inst_add->U.I.SrcReg[1].Negate ^ RC_MASK_XYZW;
232 inst_add->U.I.SrcReg[0].Negate = inst_add->U.I.SrcReg[0].Negate ^ RC_MASK_XYZW;
244 inst_cmp = rc_insert_new_instruction(c, inst_add);
325 struct rc_instruction *inst_mul, *inst_frc, *inst_mad, *inst_add;
363 inst_add = rc_insert_new_instruction(c, inst->Prev);
365 inst_add->U.I.Opcode = RC_OPCODE_ADD;
366 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
367 inst_add->U.I.DstReg.Index = temp;
368 inst_add->U.I.DstReg.WriteMask = RC_MASK_XYZ;
369 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
370 inst_add->U.I.SrcReg[1].File = RC_FILE_TEMPORARY;
371 inst_add->U.I.SrcReg[1].Index = temp;
372 inst_add->U.I.SrcReg[1].Swizzle = RC_SWIZZLE_XYZ0;
373 inst_add->U.I.SrcReg[1].Abs = 1;
374 inst_add->U.I.SrcReg[1].Negate = RC_MASK_XYZ;