Lines Matching defs:lit
997 * lit.y = MAX(0, dots.x)
998 * lit.z = SLT(0, dots.x)
1001 struct ureg lit,
1006 /* Note that lit.x & lit.w will not be examined. Note also that
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);
1031 struct ureg lit = get_temp(p);
1261 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1262 emit_op2(p, OPCODE_MUL, lit, 0, lit, att);
1263 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0);
1267 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1272 emit_degenerate_lit(p, lit, dots);
1276 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0);
1277 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _col1);
1334 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1335 emit_op2(p, OPCODE_MUL, lit, 0, lit, att);
1336 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0);
1339 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1343 emit_degenerate_lit(p, lit, dots);
1347 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0);
1348 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _bfc1);