Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_chan.h77 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_UBYTE(c, f) macro
89 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_USHORT(c, f) macro
101 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) c = (f) macro
119 UNCLAMPED_FLOAT_TO_CHAN((dst)[0], (f)[0]); \
120 UNCLAMPED_FLOAT_TO_CHAN((dst)[1], (f)[1]); \
121 UNCLAMPED_FLOAT_TO_CHAN((dst)[2], (f)[2]); \
122 UNCLAMPED_FLOAT_TO_CHAN((dst)[3], (f)[3]); \
Ds_lines.c178 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_line()
179 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_line()
180 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_line()
185 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_line()
186 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_line()
187 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); in _swrast_add_spec_terms_line()
Ds_triangle.c945 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_triangle()
946 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_triangle()
947 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_triangle()
952 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[0], rSum); in _swrast_add_spec_terms_triangle()
953 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[1], gSum); in _swrast_add_spec_terms_triangle()
954 UNCLAMPED_FLOAT_TO_CHAN(ncv1->color[2], bSum); 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()
Ds_points.c528 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_point()
529 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_point()
530 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_point()
Ds_texcombine.c544 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][RCOMP], rgba[i][RCOMP]); in texture_combine()
545 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][GCOMP], rgba[i][GCOMP]); in texture_combine()
546 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][BCOMP], rgba[i][BCOMP]); in texture_combine()
547 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][ACOMP], rgba[i][ACOMP]); in texture_combine()
Ds_span.c87 UNCLAMPED_FLOAT_TO_CHAN(r, ctx->Current.RasterColor[0]); in _swrast_span_default_attribs()
88 UNCLAMPED_FLOAT_TO_CHAN(g, ctx->Current.RasterColor[1]); in _swrast_span_default_attribs()
89 UNCLAMPED_FLOAT_TO_CHAN(b, ctx->Current.RasterColor[2]); in _swrast_span_default_attribs()
90 UNCLAMPED_FLOAT_TO_CHAN(a, ctx->Current.RasterColor[3]); in _swrast_span_default_attribs()
/external/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c286 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_4()
287 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]); in insert_4chan_4f_rgba_4()
288 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]); in insert_4chan_4f_rgba_4()
289 UNCLAMPED_FLOAT_TO_CHAN(c[3], in[3]); in insert_4chan_4f_rgba_4()
298 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_3()
299 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]); in insert_4chan_4f_rgba_3()
300 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]); in insert_4chan_4f_rgba_3()
310 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_2()
311 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]); in insert_4chan_4f_rgba_2()
322 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_1()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c834 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.red, color[0]); in r200PointsBitmap()
835 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.green, color[1]); in r200PointsBitmap()
836 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.blue, color[2]); in r200PointsBitmap()
837 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.alpha, color[3]); in r200PointsBitmap()
840 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.red, rc[0]); in r200PointsBitmap()
841 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.green, rc[1]); in r200PointsBitmap()
842 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.blue, rc[2]); in r200PointsBitmap()
843 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.alpha, rc[3]); in r200PointsBitmap()