Lines Matching full:inst_add
324 struct rc_instruction *inst_add;
328 inst_add = rc_insert_new_instruction(c, &c->Program.Instructions);
329 inst_add->U.I.Opcode = RC_OPCODE_ADD;
331 inst_add->U.I.DstReg.File = RC_FILE_TEMPORARY;
332 inst_add->U.I.DstReg.Index = tempregi;
333 inst_add->U.I.DstReg.WriteMask = RC_MASK_X;
335 inst_add->U.I.SrcReg[0].File = RC_FILE_NONE;
336 inst_add->U.I.SrcReg[0].Swizzle = RC_SWIZZLE_1111;
338 inst_add->U.I.SrcReg[1].File = RC_FILE_INPUT;
339 inst_add->U.I.SrcReg[1].Index = face;
340 inst_add->U.I.SrcReg[1].Swizzle = RC_SWIZZLE_XXXX;
341 inst_add->U.I.SrcReg[1].Negate = RC_MASK_XYZW;
343 for (inst = inst_add->Next; inst != &c->Program.Instructions; inst = inst->Next) {