Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dapi_arrayelt.c371 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, USHORT_TO_FLOAT(v[0]))); in VertexAttrib1NusvNV()
383 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, USHORT_TO_FLOAT(v[0]), in VertexAttrib2NusvNV()
384 USHORT_TO_FLOAT(v[1]))); in VertexAttrib2NusvNV()
397 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, USHORT_TO_FLOAT(v[0]), in VertexAttrib3NusvNV()
398 USHORT_TO_FLOAT(v[1]), in VertexAttrib3NusvNV()
399 USHORT_TO_FLOAT(v[2]))); in VertexAttrib3NusvNV()
412 CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, USHORT_TO_FLOAT(v[0]), in VertexAttrib4NusvNV()
413 USHORT_TO_FLOAT(v[1]), in VertexAttrib4NusvNV()
414 USHORT_TO_FLOAT(v[2]), in VertexAttrib4NusvNV()
415 USHORT_TO_FLOAT(v[3]))); in VertexAttrib4NusvNV()
[all …]
Dapi_loopback.c133 COLORF( USHORT_TO_FLOAT(red), USHORT_TO_FLOAT(green), in _mesa_Color3us()
134 USHORT_TO_FLOAT(blue), 1.0 ); in _mesa_Color3us()
182 COLORF( USHORT_TO_FLOAT(v[0]), USHORT_TO_FLOAT(v[1]), in _mesa_Color3usv()
183 USHORT_TO_FLOAT(v[2]), 1.0 ); in _mesa_Color3usv()
234 COLORF( USHORT_TO_FLOAT(red), USHORT_TO_FLOAT(green), in _mesa_Color4us()
235 USHORT_TO_FLOAT(blue), USHORT_TO_FLOAT(alpha) ); in _mesa_Color4us()
286 COLORF( USHORT_TO_FLOAT(v[0]), USHORT_TO_FLOAT(v[1]), in _mesa_Color4usv()
287 USHORT_TO_FLOAT(v[2]), USHORT_TO_FLOAT(v[3]) ); in _mesa_Color4usv()
988 SECONDARYCOLORF(USHORT_TO_FLOAT(red), in _mesa_SecondaryColor3us()
989 USHORT_TO_FLOAT(green), in _mesa_SecondaryColor3us()
[all …]
Dimage.c544 dst4[i][RCOMP] = USHORT_TO_FLOAT(src2[i][RCOMP]); in _mesa_convert_colors()
545 dst4[i][GCOMP] = USHORT_TO_FLOAT(src2[i][GCOMP]); in _mesa_convert_colors()
546 dst4[i][BCOMP] = USHORT_TO_FLOAT(src2[i][BCOMP]); in _mesa_convert_colors()
547 dst4[i][ACOMP] = USHORT_TO_FLOAT(src2[i][ACOMP]); in _mesa_convert_colors()
Dtexcompress_etc.c1368 texel[RCOMP] = USHORT_TO_FLOAT(dst); in fetch_etc2_r11_eac()
1392 texel[RCOMP] = USHORT_TO_FLOAT(dst[0]); in fetch_etc2_rg11_eac()
1393 texel[GCOMP] = USHORT_TO_FLOAT(dst[1]); in fetch_etc2_rg11_eac()
Dpixel.c317 fvalues[i] = USHORT_TO_FLOAT( values[i] ); in _mesa_PixelMapusv()
Dmacros.h71 #define USHORT_TO_FLOAT(S) ((GLfloat) (S) * (1.0F / 65535.0F)) macro
Dpack.c848 DEPTH_VALUES(GLushort, USHORT_TO_FLOAT); in _mesa_unpack_depth_span()
Ddlist.c3333 fvalues[i] = USHORT_TO_FLOAT(values[i]); in save_PixelMapusv()
/external/mesa3d/src/mesa/swrast/
Ds_blend.c862 rgbaF[i][RCOMP] = USHORT_TO_FLOAT(rgba[i][RCOMP]); in blend_general()
863 rgbaF[i][GCOMP] = USHORT_TO_FLOAT(rgba[i][GCOMP]); in blend_general()
864 rgbaF[i][BCOMP] = USHORT_TO_FLOAT(rgba[i][BCOMP]); in blend_general()
865 rgbaF[i][ACOMP] = USHORT_TO_FLOAT(rgba[i][ACOMP]); in blend_general()
866 destF[i][RCOMP] = USHORT_TO_FLOAT(dest[i][RCOMP]); in blend_general()
867 destF[i][GCOMP] = USHORT_TO_FLOAT(dest[i][GCOMP]); in blend_general()
868 destF[i][BCOMP] = USHORT_TO_FLOAT(dest[i][BCOMP]); in blend_general()
869 destF[i][ACOMP] = USHORT_TO_FLOAT(dest[i][ACOMP]); in blend_general()
/external/mesa3d/src/mesa/math/
Dm_translate.c275 #define TRX_3FN(f,n) USHORT_TO_FLOAT( PTR_ELT(f,n) )
277 #define TRX_4FN(f,n) USHORT_TO_FLOAT( PTR_ELT(f,n) )
/external/mesa3d/src/mesa/tnl/
Dt_draw.c205 CONVERT(GLushort, USHORT_TO_FLOAT); in _tnl_import_array()