Lines Matching refs:Negate
152 newreg.Negate = RC_MASK_NONE;
156 static struct rc_src_register negate(struct rc_src_register reg)
159 newreg.Negate = newreg.Negate ^ RC_MASK_XYZW;
234 src.Negate = RC_MASK_NONE;
253 emit1(c, inst->Prev, RC_OPCODE_FRC, 0, dst, negate(inst->U.I.SrcReg[0]));
280 src0.Negate &= ~(RC_MASK_Z | RC_MASK_W);
283 src1.Negate &= ~(RC_MASK_Z | RC_MASK_W);
294 src0.Negate &= ~RC_MASK_W;
320 inst->U.I.SrcReg[0], negate(srcreg(RC_FILE_TEMPORARY, dst.Index)));
336 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)));
338 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)), srcreg(RC_FILE_TEMPORARY, dst.Index));
396 negate(srcregswz(RC_FILE_CONSTANT, constant, constant_swizzle)));
413 negate(swizzle_xxxx(srctemp)),
432 inst->U.I.SrcReg[1], negate(inst->U.I.SrcReg[2]));
488 add_src, negate(frac_src));
503 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, inst->U.I.SrcReg[0], negate(inst->U.I.SrcReg[1]));
505 negate(absolute(srcreg(RC_FILE_TEMPORARY, dst.Index))), builtin_zero, builtin_one);
522 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, inst->U.I.SrcReg[0], negate(inst->U.I.SrcReg[1]));
534 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, negate(inst->U.I.SrcReg[0]), inst->U.I.SrcReg[1]);
546 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, negate(inst->U.I.SrcReg[0]), inst->U.I.SrcReg[1]);
558 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, inst->U.I.SrcReg[0], negate(inst->U.I.SrcReg[1]));
570 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, inst->U.I.SrcReg[0], negate(inst->U.I.SrcReg[1]));
572 negate(absolute(srcreg(RC_FILE_TEMPORARY, dst.Index))), builtin_one, builtin_zero);
593 negate(inst->U.I.SrcReg[0]),
610 negate(srcreg(RC_FILE_TEMPORARY, tmp1)));
619 inst->U.I.SrcReg[1] = negate(inst->U.I.SrcReg[1]);
639 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)));
701 inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW;
746 src0.Negate &= ~RC_MASK_W;
749 src1.Negate &= ~RC_MASK_W;
839 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW;
840 inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW;
848 inst->U.I.SrcReg[0].Negate ^= RC_MASK_XYZW;
849 inst->U.I.SrcReg[1].Negate ^= RC_MASK_XYZW;
883 negate(srcreg(RC_FILE_TEMPORARY, tmp1)));
990 negate(swizzle_xxxx(srcreg(RC_FILE_TEMPORARY, tempreg))));
1031 negate(swizzle_zzzz(srcreg(RC_FILE_CONSTANT, constants[0]))));
1046 negate(swizzle_zzzz(srcreg(RC_FILE_CONSTANT, constants[0]))));
1063 negate(swizzle_zzzz(srcreg(RC_FILE_CONSTANT, constants[0]))));
1204 inst->U.I.SrcReg[1].Negate = RC_MASK_XYZW;
1262 inst->U.I.SrcReg[0] = negate(builtin_one);
1267 negate(absolute(if_inst->U.I.SrcReg[0]));