Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_lines.c167 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_line() local
176 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_line()
179 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_line()
183 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_line()
186 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_line()
Ds_triangle.c340 GLint bSum = FixedToInt(span->blue) + (GLint) sample[BCOMP]; \ in affine_span()
343 dest[BCOMP] = MIN2(bSum, CHAN_MAX); \ in affine_span()
935 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_triangle() local
945 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
948 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_triangle()
952 bSum = CHAN_TO_FLOAT(ncv1->color[2]) + ncv1->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
955 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_triangle()
959 bSum = CHAN_TO_FLOAT(ncv2->color[2]) + ncv2->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
962 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[2], bSum); in _swrast_add_spec_terms_triangle()
Ds_points.c518 GLfloat rSum, gSum, bSum; in _swrast_add_spec_terms_point() local
526 bSum = CHAN_TO_FLOAT(ncv0->color[2]) + ncv0->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_point()
529 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_point()
/external/deqp/framework/referencerenderer/
DrrRasterizer.cpp630 const tcu::Vec4 bSum = b0 + b1 + b2; in rasterizeSingleSample() local
634 packet.barycentric[0] = b0 / bSum; in rasterizeSingleSample()
635 packet.barycentric[1] = b1 / bSum; in rasterizeSingleSample()
826 const tcu::Vec4 bSum = b0 + b1 + b2; in rasterizeMultiSample() local
830 packet.barycentric[0] = b0 / bSum; in rasterizeMultiSample()
831 packet.barycentric[1] = b1 / bSum; in rasterizeMultiSample()