Lines Matching refs:spot
946 /* Calculate spot attenuation:
950 struct ureg spot = get_temp(p);
955 emit_op2(p, OPCODE_DP3, spot, 0, negate(VPpli), spot_dir_norm);
956 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot);
957 emit_op1(p, OPCODE_ABS, spot, 0, spot);
958 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
959 emit_op2(p, OPCODE_MUL, att, 0, slt, spot);
961 release_temp(p, spot);
982 /* spot-atten * dist-atten */