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.c269 CALL_VertexAttrib1fNV(get_dispatch(), (index, USHORT_TO_FLOAT(v[0]))); in VertexAttrib1NusvNV()
281 CALL_VertexAttrib2fNV(get_dispatch(), (index, USHORT_TO_FLOAT(v[0]), in VertexAttrib2NusvNV()
282 USHORT_TO_FLOAT(v[1]))); in VertexAttrib2NusvNV()
295 CALL_VertexAttrib3fNV(get_dispatch(), (index, USHORT_TO_FLOAT(v[0]), in VertexAttrib3NusvNV()
296 USHORT_TO_FLOAT(v[1]), in VertexAttrib3NusvNV()
297 USHORT_TO_FLOAT(v[2]))); in VertexAttrib3NusvNV()
310 CALL_VertexAttrib4fNV(get_dispatch(), (index, USHORT_TO_FLOAT(v[0]), in VertexAttrib4NusvNV()
311 USHORT_TO_FLOAT(v[1]), in VertexAttrib4NusvNV()
312 USHORT_TO_FLOAT(v[2]), in VertexAttrib4NusvNV()
313 USHORT_TO_FLOAT(v[3]))); in VertexAttrib4NusvNV()
[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.c1383 texel[RCOMP] = USHORT_TO_FLOAT(dst); in fetch_etc2_r11_eac()
1407 texel[RCOMP] = USHORT_TO_FLOAT(dst[0]); in fetch_etc2_rg11_eac()
1408 texel[GCOMP] = USHORT_TO_FLOAT(dst[1]); in fetch_etc2_rg11_eac()
Dpixel.c316 fvalues[i] = USHORT_TO_FLOAT( values[i] ); in _mesa_PixelMapusv()
Dmacros.h73 #define USHORT_TO_FLOAT(S) ((GLfloat) (S) * (1.0F / 65535.0F)) macro
Dpack.c849 DEPTH_VALUES(GLushort, USHORT_TO_FLOAT); in _mesa_unpack_depth_span()
Ddlist.c3709 fvalues[i] = USHORT_TO_FLOAT(values[i]); in save_PixelMapusv()
/external/mesa3d/src/mesa/vbo/
Dvbo_attrib_tmp.h1555 ATTR4F(VBO_ATTRIB_COLOR0, USHORT_TO_FLOAT(red), USHORT_TO_FLOAT(green), in TAG()
1556 USHORT_TO_FLOAT(blue), 1.0); in TAG()
1611 ATTR4F(VBO_ATTRIB_COLOR0, USHORT_TO_FLOAT(v[0]), USHORT_TO_FLOAT(v[1]), in TAG()
1612 USHORT_TO_FLOAT(v[2]), 1.0); in TAG()
1670 ATTR4F(VBO_ATTRIB_COLOR0, USHORT_TO_FLOAT(red), USHORT_TO_FLOAT(green), in TAG()
1671 USHORT_TO_FLOAT(blue), USHORT_TO_FLOAT(alpha)); in TAG()
1729 ATTR4F(VBO_ATTRIB_COLOR0, USHORT_TO_FLOAT(v[0]), USHORT_TO_FLOAT(v[1]), in TAG()
1730 USHORT_TO_FLOAT(v[2]), USHORT_TO_FLOAT(v[3])); in TAG()
2486 ATTR3F(VBO_ATTRIB_COLOR1, USHORT_TO_FLOAT(red), in TAG()
2487 USHORT_TO_FLOAT(green), in TAG()
[all …]
/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.c211 CONVERT(GLushort, USHORT_TO_FLOAT); in _tnl_import_array()