Searched refs:bSum (Results 1 – 4 of 4) sorted by relevance
/external/mesa3d/src/mesa/swrast/ |
D | s_lines.c | 167 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()
|
D | s_triangle.c | 340 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()
|
D | s_points.c | 518 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/ |
D | rrRasterizer.cpp | 629 const tcu::Vec4 bSum = b0 + b1 + b2; in rasterizeSingleSample() local 633 packet.barycentric[0] = b0 / bSum; in rasterizeSingleSample() 634 packet.barycentric[1] = b1 / bSum; in rasterizeSingleSample() 834 const tcu::Vec4 bSum = b0 + b1 + b2; in rasterizeMultiSample() local 838 packet.barycentric[0] = b0 / bSum; in rasterizeMultiSample() 839 packet.barycentric[1] = b1 / bSum; in rasterizeMultiSample()
|