Lines Matching refs:attenuation
954 struct ureg attenuation = undef;
957 /* Calculate spot attenuation:
964 attenuation = register_param3(p, STATE_LIGHT, i, STATE_ATTENUATION);
970 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
977 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62):
985 if (is_undef(attenuation))
986 attenuation = register_param3(p, STATE_LIGHT, i, STATE_ATTENUATION);
993 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist);
1196 * attenuation below.
1203 /* Calculate attenuation:
1603 * Point size attenuation computation.