Home | History | Annotate | Download | only in main

Lines Matching refs:lit

1005  *   lit.y = MAX(0, dots.x)
1006 * lit.z = SLT(0, dots.x)
1009 struct ureg lit,
1014 /* Note that lit.x & lit.w will not be examined. Note also that
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);
1039 struct ureg lit = get_temp(p);
1214 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1215 emit_op2(p, OPCODE_MUL, lit, 0, lit, att);
1216 emit_op3(p, OPCODE_MAD, _col0, 0, swizzle1(lit,X), ambient, _col0);
1220 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1225 emit_degenerate_lit(p, lit, dots);
1229 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _col0);
1230 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _col1);
1275 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1276 emit_op2(p, OPCODE_MUL, lit, 0, lit, att);
1277 emit_op3(p, OPCODE_MAD, _bfc0, 0, swizzle1(lit,X), ambient, _bfc0);
1280 emit_op1(p, OPCODE_LIT, lit, 0, dots);
1284 emit_degenerate_lit(p, lit, dots);
1288 emit_op3(p, OPCODE_MAD, res0, mask0, swizzle1(lit,Y), diffuse, _bfc0);
1289 emit_op3(p, OPCODE_MAD, res1, mask1, swizzle1(lit,Z), specular, _bfc1);