Home
last modified time | relevance | path

Searched refs:bSum (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_lines.c168 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
177 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_line()
180 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_line()
184 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_line()
187 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_line()
Ds_triangle.c339 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \ in affine_span()
342 dest[BCOMP] = MIN2(bSum, CHAN_MAX); \ in affine_span()
934 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
944 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
947 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_triangle()
951 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
954 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_triangle()
958 bSum = CHAN_TO_FLOAT(ncv2->color[2]) + ncv2->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
961 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[2], bSum); in _swrast_add_spec_terms_triangle()
Ds_points.c519 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
527 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_point()
530 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_point()
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_lines.c168 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
177 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_line()
180 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_line()
184 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_line()
187 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_line()
Ds_triangle.c339 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \ in affine_span()
342 dest[BCOMP] = MIN2(bSum, CHAN_MAX); \ in affine_span()
934 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
944 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
947 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_triangle()
951 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
954 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_triangle()
958 bSum = CHAN_TO_FLOAT(ncv2->color[2]) + ncv2->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_triangle()
961 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[2], bSum); in _swrast_add_spec_terms_triangle()
Ds_points.c519 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
527 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[FRAG_ATTRIB_COL1][2]; in _swrast_add_spec_terms_point()
530 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_point()