Searched refs:diffuseColor (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/mesa/tnl/ |
D | t_rasterpos.c | 124 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos() local 126 COPY_3V(diffuseColor, base[0]); in shade_rastpos() 127 diffuseColor[3] = CLAMP( in shade_rastpos() 180 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); in shade_rastpos() 234 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); in shade_rastpos() 238 Rcolor[0] = CLAMP(diffuseColor[0], 0.0F, 1.0F); in shade_rastpos() 239 Rcolor[1] = CLAMP(diffuseColor[1], 0.0F, 1.0F); in shade_rastpos() 240 Rcolor[2] = CLAMP(diffuseColor[2], 0.0F, 1.0F); in shade_rastpos() 241 Rcolor[3] = CLAMP(diffuseColor[3], 0.0F, 1.0F); in shade_rastpos()
|