Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_lines.c166 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()
Ds_triangle.c933 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()
/external/python/pybind11/tests/
Dtest_virtual_functions.py214 ncv1 = NCVirtExt()
215 assert ncv1.print_nc(2, 3) == "36"
216 assert ncv1.print_movable(4, 5) == "9"
227 del ncv1, ncv2