Searched refs:attenuation (Results 1 - 12 of 12) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vb_lighttmp.h117 GLfloat attenuation; local in function:TAG
122 /* compute VP and attenuation */
126 attenuation = light->_VP_inf_spot_attenuation;
140 attenuation = 1.0F / (light->ConstantAttenuation + d *
144 /* spotlight attenuation */
153 attenuation *= spot;
158 if (attenuation < 1e-3F)
166 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]);
177 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]);
186 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contri
296 GLfloat attenuation; local in function:TAG
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_lighttmp.h118 GLfloat attenuation; local in function:TAG
123 /* compute VP and attenuation */
127 attenuation = light->_VP_inf_spot_attenuation;
141 attenuation = 1.0F / (lu->ConstantAttenuation + d *
145 /* spotlight attenuation */
154 attenuation *= spot;
159 if (attenuation < 1e-3F)
167 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]);
178 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]);
187 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contri
298 GLfloat attenuation; local in function:TAG
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Drastpos.c157 GLfloat attenuation = 1.0; local in function:shade_rastpos
165 attenuation = light->_VP_inf_spot_attenuation;
182 attenuation = 1.0F / (light->ConstantAttenuation + d *
194 attenuation *= spot;
199 if (attenuation < 1e-3F)
205 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]);
259 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib );
260 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib );
H A Dffvertex_prog.c933 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, local in function:calculate_light_attenuation
937 /* Calculate spot attenuation:
950 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
957 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62):
969 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist);
1125 * attenuation below.
1132 /* Calculate attenuation:
1509 * Point size attenuation computation.
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D7.0.rst44 - Fixed point size attenuation problem (bug 11042)
H A D6.4.rst54 - fixed a number of point size attenuation/fade bugs
H A D7.10.rst1258 - i965: Update gen6 SF state when point state (sprite or attenuation)
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Drastpos.c161 GLfloat attenuation = 1.0; local in function:shade_rastpos
169 attenuation = light->_VP_inf_spot_attenuation;
186 attenuation = 1.0F / (lu->ConstantAttenuation + d *
198 attenuation *= spot;
203 if (attenuation < 1e-3F)
209 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]);
263 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib );
264 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib );
H A Dffvertex_prog.c942 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, local in function:calculate_light_attenuation
946 /* Calculate spot attenuation:
958 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W));
965 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62):
977 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist);
1177 * attenuation below.
1184 /* Calculate attenuation:
1584 * Point size attenuation computation.
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprogram_lexer.l244 {dot}attenuation { return ATTENUATION; }
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprogram_lexer.l244 {dot}attenuation { return ATTENUATION; }
/xsrc/external/mit/MesaLib/dist/
H A D.pick_status.json27175 "description": "mesa: don't add attenuation constants if ffvp doesn't use them",
[all...]

Completed in 206 milliseconds