Searched refs:ncv1 (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/mesa/swrast/ |
D | s_lines.c | 166 SWvertex *ncv1 = (SWvertex *)v1; in _swrast_add_spec_terms_line() local 172 COPY_CHAN4(cSave[1], ncv1->color); 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() 182 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[VARYING_SLOT_COL1][1]; 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() 184 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_line() 185 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_line() 186 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_line() 188 SWRAST_CONTEXT(ctx)->SpecLine( ctx, ncv0, ncv1 ); in _swrast_add_spec_terms_line() 191 COPY_CHAN4(ncv1->color, cSave[1]); in _swrast_add_spec_terms_line()
|
D | s_triangle.c | 933 SWvertex *ncv1 = (SWvertex *)v1; in _swrast_add_spec_terms_triangle() local 940 COPY_CHAN4( cSave[1], ncv1->color ); 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() 951 gSum = CHAN_TO_FLOAT(ncv1->color[1]) + ncv1->attrib[VARYING_SLOT_COL1][1]; 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() 953 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_triangle() 954 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_triangle() 955 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_triangle() 964 SWRAST_CONTEXT(ctx)->SpecTriangle( ctx, ncv0, ncv1, ncv2 ); in _swrast_add_spec_terms_triangle() 967 COPY_CHAN4( ncv1->color, cSave[1] ); in _swrast_add_spec_terms_triangle()
|