Lines Matching defs:dots
997 * lit.y = MAX(0, dots.x)
998 * lit.z = SLT(0, dots.x)
1002 struct ureg dots )
1007 * dots.xyzw == dots.xxxx.
1010 /* MAX lit, id, dots;
1012 emit_op2(p, OPCODE_MAX, lit, WRITEMASK_XYZW, id, dots);
1015 * SLT lit.z, id.z, dots; # lit.z = (0 < dots.z) ? 1 : 0
1017 emit_op2(p, OPCODE_SLT, lit, WRITEMASK_Z, swizzle1(id,Z), dots);
1032 struct ureg dots = get_temp(p);
1039 * dots.x = dot(normal, VPpli)
1040 * dots.y = dot(normal, halfAngle)
1041 * dots.z = back.shininess
1042 * dots.w = front.shininess
1054 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X));
1071 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_Z,
1210 emit_op2(p, OPCODE_DP3, dots, 0, normal, VPpli);
1213 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli);
1214 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_Y, normal, half);
1261 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1267 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1272 emit_degenerate_lit(p, lit, dots);
1327 * dot products. dots.Z has the negated back-face specular
1331 dots = negate(swizzle(dots,X,Y,W,Z));
1334 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1339 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1343 emit_degenerate_lit(p, lit, dots);
1349 /* restore dots to its original state for subsequent lights
1352 dots = negate(swizzle(dots,X,Y,W,Z));