Lines Matching defs:dots
989 * lit.y = MAX(0, dots.x)
990 * lit.z = SLT(0, dots.x)
994 struct ureg dots )
999 * dots.xyzw == dots.xxxx.
1002 /* MAX lit, id, dots;
1004 emit_op2(p, OPCODE_MAX, lit, WRITEMASK_XYZW, id, dots);
1007 * SLT lit.z, id.z, dots; # lit.z = (0 < dots.z) ? 1 : 0
1009 emit_op2(p, OPCODE_SLT, lit, WRITEMASK_Z, swizzle1(id,Z), dots);
1024 struct ureg dots = get_temp(p);
1031 * dots.x = dot(normal, VPpli)
1032 * dots.y = dot(normal, halfAngle)
1033 * dots.z = back.shininess
1034 * dots.w = front.shininess
1046 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X));
1063 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_Z,
1159 emit_op2(p, OPCODE_DP3, dots, 0, normal, VPpli);
1162 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli);
1163 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_Y, normal, half);
1198 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1204 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1209 emit_degenerate_lit(p, lit, dots);
1252 * dot products. dots.Z has the negated back-face specular
1256 dots = negate(swizzle(dots,X,Y,W,Z));
1259 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1264 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1268 emit_degenerate_lit(p, lit, dots);
1274 /* restore dots to its original state for subsequent lights
1277 dots = negate(swizzle(dots,X,Y,W,Z));