Lines Matching defs:lit
1013 * lit.y = MAX(0, dots.x)
1014 * lit.z = SLT(0, dots.x)
1017 struct ureg lit,
1022 /* Note that lit.x & lit.w will not be examined. Note also that
1026 /* MAX lit, id, dots;
1028 emit_op2(p, OPCODE_MAX, lit, WRITEMASK_XYZW, id, dots);
1031 * SLT lit.z, id.z, dots; # lit.z = (0 < dots.z) ? 1 : 0
1033 emit_op2(p, OPCODE_SLT, lit, WRITEMASK_Z, swizzle1(id,Z), dots);
1047 struct ureg lit = get_temp(p);
1280 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1281 emit_op2(p, OPCODE_MUL, lit, 0, lit, att);
1282 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0);
1286 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1291 emit_degenerate_lit(p, lit, dots);
1295 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0);
1296 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _col1);
1353 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1354 emit_op2(p, OPCODE_MUL, lit, 0, lit, att);
1355 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0);
1358 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1362 emit_degenerate_lit(p, lit, dots);
1366 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0);
1367 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _bfc1);