Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_triangle.c933 SWvertex *ncv2 = (SWvertex *)v2; in _swrast_add_spec_terms_triangle() local
940 COPY_CHAN4( cSave[2], ncv2->color ); in _swrast_add_spec_terms_triangle()
956 rSum = CHAN_TO_FLOAT(ncv2->color[0]) + ncv2->attrib[VARYING_SLOT_COL1][0]; in _swrast_add_spec_terms_triangle()
957 gSum = CHAN_TO_FLOAT(ncv2->color[1]) + ncv2->attrib[VARYING_SLOT_COL1][1]; in _swrast_add_spec_terms_triangle()
958 bSum = CHAN_TO_FLOAT(ncv2->color[2]) + ncv2->attrib[VARYING_SLOT_COL1][2]; in _swrast_add_spec_terms_triangle()
959 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[0], rSum); in _swrast_add_spec_terms_triangle()
960 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[1], gSum); in _swrast_add_spec_terms_triangle()
961 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[2], bSum); in _swrast_add_spec_terms_triangle()
963 SWRAST_CONTEXT(ctx)->SpecTriangle( ctx, ncv0, ncv1, ncv2 ); in _swrast_add_spec_terms_triangle()
967 COPY_CHAN4( ncv2->color, cSave[2] ); in _swrast_add_spec_terms_triangle()