Home | History | Annotate | Download | only in main

Lines Matching refs:dots

1005  *   lit.y = MAX(0, dots.x)
1006 * lit.z = SLT(0, dots.x)
1010 struct ureg dots )
1015 * dots.xyzw == dots.xxxx.
1018 /* MAX lit, id, dots;
1020 emit_op2(p, OPCODE_MAX, lit, WRITEMASK_XYZW, id, dots);
1023 * SLT lit.z, id.z, dots; # lit.z = (0 < dots.z) ? 1 : 0
1025 emit_op2(p, OPCODE_SLT, lit, WRITEMASK_Z, swizzle1(id,Z), dots);
1040 struct ureg dots = get_temp(p);
1047 * dots.x = dot(normal, VPpli)
1048 * dots.y = dot(normal, halfAngle)
1049 * dots.z = back.shininess
1050 * dots.w = front.shininess
1062 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_W, swizzle1(shininess,X));
1079 emit_op1(p, OPCODE_MOV, dots, WRITEMASK_Z,
1175 emit_op2(p, OPCODE_DP3, dots, 0, normal, VPpli);
1178 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_X, normal, VPpli);
1179 emit_op2(p, OPCODE_DP3, dots, WRITEMASK_Y, normal, half);
1214 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1220 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1225 emit_degenerate_lit(p, lit, dots);
1268 * dot products. dots.Z has the negated back-face specular
1272 dots = negate(swizzle(dots,X,Y,W,Z));
1275 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1280 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1284 emit_degenerate_lit(p, lit, dots);
1290 /* restore dots to its original state for subsequent lights
1293 dots = negate(swizzle(dots,X,Y,W,Z));