Home
last modified time | relevance | path

Searched refs:gl_light_uniforms (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c241 nv10_get_spot_coeff(struct gl_light *l, struct gl_light_uniforms *lu, float k[7]) in nv10_get_spot_coeff()
287 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv10_emit_light_source()
354 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv10_emit_material_ambient()
378 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv10_emit_material_diffuse()
398 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv10_emit_material_specular()
Dnv20_state_tnl.c203 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv20_emit_light_source()
271 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv20_emit_material_ambient()
296 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv20_emit_material_diffuse()
317 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in nv20_emit_material_specular()
Dnv10_driver.h167 nv10_get_spot_coeff(struct gl_light *l, struct gl_light_uniforms *lu, float k[7]);
/third_party/mesa3d/src/mesa/main/
Dlight.c107 struct gl_light_uniforms *lu = &ctx->Light.LightSource[lnum]; in _mesa_light()
692 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in _mesa_update_material()
703 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in _mesa_update_material()
728 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in _mesa_update_material()
739 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in _mesa_update_material()
751 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in _mesa_update_material()
762 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in _mesa_update_material()
1046 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in compute_light_positions()
1210 init_light( struct gl_light *l, struct gl_light_uniforms *lu, GLuint n ) in init_light()
Dmtypes.h560 struct gl_light_uniforms { struct
586 struct gl_light_uniforms LightSource[MAX_LIGHTS]; argument
587 GLfloat LightSourceData[(sizeof(struct gl_light_uniforms) / 4) * MAX_LIGHTS];
Drastpos.c160 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in shade_rastpos()
Dffvertex_prog.c192 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in make_state_key()
Dattrib.c961 const struct gl_light_uniforms *lu = &attr->Light.LightSource[i]; in _mesa_PopAttrib()
/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c123 STATIC_ASSERT(sizeof(struct gl_light_uniforms) == 29 * 4); in fetch_state()
180 STATIC_ASSERT(offsetof(struct gl_light_uniforms, Ambient) + 16 == in fetch_state()
181 offsetof(struct gl_light_uniforms, Diffuse)); in fetch_state()
182 STATIC_ASSERT(offsetof(struct gl_light_uniforms, Diffuse) + 16 == in fetch_state()
183 offsetof(struct gl_light_uniforms, Specular)); in fetch_state()
1495 sizeof(struct gl_light_uniforms) / 4 + in _mesa_optimize_state_parameters()
/third_party/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h113 struct gl_light_uniforms *lu = &ctx->Light.LightSource[l]; in TAG()
293 struct gl_light_uniforms *lu = &ctx->Light.LightSource[l]; in TAG()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c683 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; in update_light_colors()
898 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; in update_light()
924 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; in radeonLightfv()
Dradeon_state_init.c875 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in radeonInitState()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c869 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; in update_light_colors()
1121 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; in update_light()
1147 struct gl_light_uniforms *lu = &ctx->Light.LightSource[p]; in r200Lightfv()
Dr200_state_init.c1221 struct gl_light_uniforms *lu = &ctx->Light.LightSource[i]; in r200InitState()