Lines Matching refs:Attrib

69             COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_AMBIENT + face]);  in _mesa_fetch_state()
72 COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_DIFFUSE + face]); in _mesa_fetch_state()
75 COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_SPECULAR + face]); in _mesa_fetch_state()
78 COPY_4V(value, mat->Attrib[MAT_ATTRIB_FRONT_EMISSION + face]); in _mesa_fetch_state()
81 value[0] = mat->Attrib[MAT_ATTRIB_FRONT_SHININESS + face][0]; 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()
405 COPY_4V(value, ctx->Current.Attrib[idx]); in _mesa_fetch_state()
415 value[0] = CLAMP(ctx->Current.Attrib[idx][0], 0.0f, 1.0f); in _mesa_fetch_state()
416 value[1] = CLAMP(ctx->Current.Attrib[idx][1], 0.0f, 1.0f); in _mesa_fetch_state()
417 value[2] = CLAMP(ctx->Current.Attrib[idx][2], 0.0f, 1.0f); in _mesa_fetch_state()
418 value[3] = CLAMP(ctx->Current.Attrib[idx][3], 0.0f, 1.0f); in _mesa_fetch_state()
421 COPY_4V(value, ctx->Current.Attrib[idx]); in _mesa_fetch_state()