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.h78 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_UBYTE(c, f) macro
90 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_USHORT(c, f) macro
102 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) c = (f) macro
120 UNCLAMPED_FLOAT_TO_CHAN((dst)[0], (f)[0]); \
121 UNCLAMPED_FLOAT_TO_CHAN((dst)[1], (f)[1]); \
122 UNCLAMPED_FLOAT_TO_CHAN((dst)[2], (f)[2]); \
123 UNCLAMPED_FLOAT_TO_CHAN((dst)[3], (f)[3]); \
Ds_lines.c177 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_line()
178 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_line()
179 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); 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()
Ds_triangle.c946 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_triangle()
947 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_triangle()
948 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); 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()
960 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[0], rSum); in _swrast_add_spec_terms_triangle()
961 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[1], gSum); in _swrast_add_spec_terms_triangle()
962 UNCLAMPED_FLOAT_TO_CHAN(ncv2->color[2], bSum); in _swrast_add_spec_terms_triangle()
Ds_points.c527 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[0], rSum); in _swrast_add_spec_terms_point()
528 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[1], gSum); in _swrast_add_spec_terms_point()
529 UNCLAMPED_FLOAT_TO_CHAN(ncv0->color[2], bSum); in _swrast_add_spec_terms_point()
Ds_texcombine.c535 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][RCOMP], rgba[i][RCOMP]); in texture_combine()
536 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][GCOMP], rgba[i][GCOMP]); in texture_combine()
537 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][BCOMP], rgba[i][BCOMP]); in texture_combine()
538 UNCLAMPED_FLOAT_TO_CHAN(rgbaChan[i][ACOMP], rgba[i][ACOMP]); in texture_combine()
Ds_span.c91 UNCLAMPED_FLOAT_TO_CHAN(r, ctx->Current.RasterColor[0]); in _swrast_span_default_attribs()
92 UNCLAMPED_FLOAT_TO_CHAN(g, ctx->Current.RasterColor[1]); in _swrast_span_default_attribs()
93 UNCLAMPED_FLOAT_TO_CHAN(b, ctx->Current.RasterColor[2]); in _swrast_span_default_attribs()
94 UNCLAMPED_FLOAT_TO_CHAN(a, ctx->Current.RasterColor[3]); in _swrast_span_default_attribs()
/external/mesa3d/src/mesa/tnl/
Dt_vertex_generic.c285 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_4()
286 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]); in insert_4chan_4f_rgba_4()
287 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]); in insert_4chan_4f_rgba_4()
288 UNCLAMPED_FLOAT_TO_CHAN(c[3], in[3]); in insert_4chan_4f_rgba_4()
297 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_3()
298 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]); in insert_4chan_4f_rgba_3()
299 UNCLAMPED_FLOAT_TO_CHAN(c[2], in[2]); in insert_4chan_4f_rgba_3()
309 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_2()
310 UNCLAMPED_FLOAT_TO_CHAN(c[1], in[1]); in insert_4chan_4f_rgba_2()
321 UNCLAMPED_FLOAT_TO_CHAN(c[0], in[0]); in insert_4chan_4f_rgba_1()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c843 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.red, color[0]); in r200PointsBitmap()
844 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.green, color[1]); in r200PointsBitmap()
845 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.blue, color[2]); in r200PointsBitmap()
846 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.alpha, color[3]); in r200PointsBitmap()
849 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.red, rc[0]); in r200PointsBitmap()
850 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.green, rc[1]); in r200PointsBitmap()
851 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.blue, rc[2]); in r200PointsBitmap()
852 UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.alpha, rc[3]); in r200PointsBitmap()