Home
last modified time | relevance | path

Searched refs:rSum (Results 1 – 4 of 4) sorted by relevance

/third_party/mesa3d/src/mesa/swrast/
Ds_lines.c167 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
174 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
177 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_line()
181 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_line()
184 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_line()
Ds_triangle.c338 GLint rSum = FixedToInt(span->red) + (GLint) sample[RCOMP]; \ in affine_span()
341 dest[RCOMP] = MIN2(rSum, CHAN_MAX); \ in affine_span()
935 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
943 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
946 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_triangle()
950 rSum = CHAN_TO_FLOAT(ncv1->color[0]) + ncv1->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
953 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_triangle()
957 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
960 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[0], rSum); in _swrast_add_spec_terms_triangle()
Ds_points.c511 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
517 rSum = CHAN_TO_FLOAT(ncv0->color[0]) + ncv0->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_point()
520 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_point()
/third_party/sqlite/src/
Dsqlite3.c122137 double rSum; /* Floating point sum */
122165 p->rSum += v;
122170 p->rSum += sqlite3_value_double(argv[0]);
122191 p->rSum -= v;
122194 p->rSum -= sqlite3_value_double(argv[0]);
122208 sqlite3_result_double(context, p->rSum);
122218 sqlite3_result_double(context, p->rSum/(double)p->cnt);
122225 sqlite3_result_double(context, p ? p->rSum : (double)0);