Lines Matching refs:Material
59 const struct gl_material *mat = &ctx->Light.Material; in _mesa_fetch_state()
151 * ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT][i] in _mesa_fetch_state()
152 + ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_EMISSION][i]; in _mesa_fetch_state()
154 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE][3]; in _mesa_fetch_state()
161 * ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_AMBIENT][i] in _mesa_fetch_state()
162 + ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_EMISSION][i]; in _mesa_fetch_state()
164 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_BACK_DIFFUSE][3]; in _mesa_fetch_state()
177 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][i]; in _mesa_fetch_state()
180 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_AMBIENT+face][3]; in _mesa_fetch_state()
185 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE+face][i]; in _mesa_fetch_state()
188 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_DIFFUSE+face][3]; in _mesa_fetch_state()
193 ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SPECULAR+face][i]; in _mesa_fetch_state()
196 value[3] = ctx->Light.Material.Attrib[MAT_ATTRIB_FRONT_SPECULAR+face][3]; in _mesa_fetch_state()