Searched refs:gSum (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_lines.c | 168 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local 176 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_line() 179 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_line() 183 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_line() 186 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_line()
|
D | s_triangle.c | 338 GLint gSum = FixedToInt(span->green) + (GLint) sample[GCOMP]; \ in affine_span() 341 dest[GCOMP] = MIN2(gSum, CHAN_MAX); \ in affine_span() 934 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local 943 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle() 946 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_triangle() 950 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle() 953 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_triangle() 957 gSum = CHAN_TO_FLOAT(ncv2->color[1]) + ncv2->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_triangle() 960 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[1], gSum); in _swrast_add_spec_terms_triangle()
|
D | s_points.c | 519 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local 526 gSum = CHAN_TO_FLOAT(ncv0->color[1]) + ncv0->attrib[FRAG_ATTRIB_COL1][1]; in _swrast_add_spec_terms_point() 529 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_point()
|