Searched refs:bSum (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_lines.c | 168 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()
|
D | s_triangle.c | 339 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()
|
D | s_points.c | 519 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/deqp/framework/referencerenderer/ |
D | rrRasterizer.cpp | 624 const tcu::Vec4 bSum = b0 + b1 + b2; in rasterizeSingleSample() local 628 packet.barycentric[0] = b0 / bSum; in rasterizeSingleSample() 629 packet.barycentric[1] = b1 / bSum; in rasterizeSingleSample() 829 const tcu::Vec4 bSum = b0 + b1 + b2; in rasterizeMultiSample() local 833 packet.barycentric[0] = b0 / bSum; in rasterizeMultiSample() 834 packet.barycentric[1] = b1 / bSum; in rasterizeMultiSample()
|