Lines Matching refs:spot
957 /* Calculate spot attenuation:
961 struct ureg spot = get_temp(p);
967 emit_op2(p, OPCODE_DP3, spot, 0, negate(VPpli), spot_dir_norm);
968 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot);
969 emit_op1(p, OPCODE_ABS, spot, 0, spot);
970 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
971 emit_op2(p, OPCODE_MUL, att, 0, slt, spot);
973 release_temp(p, spot);
998 /* spot-atten * dist-atten */