Searched refs:MAX_LIGHTS (Results 1 – 10 of 10) sorted by relevance
59 #define MAX_LIGHTS 8 macro
105 assert(lnum < MAX_LIGHTS); in _mesa_light()1196 for (i = 0; i < MAX_LIGHTS; i++) { in _mesa_init_lighting()
51 #define NUM_UNITS MAX2(MAX_TEXTURE_COORD_UNITS, MAX_LIGHTS)1042 for (i = 0; i < MAX_LIGHTS; i++) in build_lighting()1107 for (i = 0; i < MAX_LIGHTS; i++) { in build_lighting()
585 consts->MaxLights = MAX_LIGHTS; in _mesa_init_constants()
79 GLboolean Light[MAX_LIGHTS];
649 struct gl_light Light[MAX_LIGHTS]; /**< Array of light sources */
71 MAX_LIGHTS = 8, enumerator612 Light light[MAX_LIGHTS];
176 for(int i = 0; i < MAX_LIGHTS; i++) in Context()1384 …case GL_MAX_LIGHTS: *params = MAX_LIGHTS; … in getIntegerv()1967 for(int i = 0; i < MAX_LIGHTS; i++) in applyState()
2682 if(index < 0 || index >= es1::MAX_LIGHTS) in Lightf()2750 if(index < 0 || index > es1::MAX_LIGHTS) in Lightfv()
185 for (i = 0; i < MAX_LIGHTS; i++) in nv10_emit_light_enable()