Home | History | Annotate | Download | only in main

Lines Matching defs:spot

954    /* Calculate spot attenuation:
959 struct ureg spot = get_temp(p);
964 emit_op2(p, OPCODE_DP3, spot, 0, negate(VPpli), spot_dir_norm);
965 emit_op2(p, OPCODE_SLT, slt, 0, swizzle1(spot_dir_norm,W), spot);
966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
967 emit_op2(p, OPCODE_MUL, att, 0, slt, spot);
969 release_temp(p, spot);
990 /* spot-atten * dist-atten */