Lines Matching refs:spot
937 /* Calculate spot attenuation:
942 struct ureg spot = get_temp(p);
947 emit_op2(p, OPCODE_DP3, spot, 0, negate(VPpli), spot_dir_norm);
948 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot);
949 emit_op1(p, OPCODE_ABS, spot, 0, spot);
950 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
951 emit_op2(p, OPCODE_MUL, att, 0, slt, spot);
953 release_temp(p, spot);
974 /* spot-atten * dist-atten */