Home
last modified time | relevance | path

Searched refs:SHORT_TO_FLOAT (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/mesa/main/
Dapi_loopback.c117 COLORF( SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), in loopback_Color3s_f()
118 SHORT_TO_FLOAT(blue), 1.0); in loopback_Color3s_f()
166 COLORF( SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), in loopback_Color3sv_f()
167 SHORT_TO_FLOAT(v[2]), 1.0 ); in loopback_Color3sv_f()
218 COLORF( SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), in loopback_Color4s_f()
219 SHORT_TO_FLOAT(blue), SHORT_TO_FLOAT(alpha) ); in loopback_Color4s_f()
269 COLORF( SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), in loopback_Color4sv_f()
270 SHORT_TO_FLOAT(v[2]), SHORT_TO_FLOAT(v[3]) ); in loopback_Color4sv_f()
386 NORMAL( SHORT_TO_FLOAT(nx), SHORT_TO_FLOAT(ny), SHORT_TO_FLOAT(nz) ); in loopback_Normal3s()
410 NORMAL( SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), SHORT_TO_FLOAT(v[2]) ); in loopback_Normal3sv()
[all …]
Dapi_arrayelt.c294 CALL_VertexAttrib1fNV(GET_DISPATCH(), (index, SHORT_TO_FLOAT(v[0]))); in VertexAttrib1NsvNV()
306 CALL_VertexAttrib2fNV(GET_DISPATCH(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib2NsvNV()
307 SHORT_TO_FLOAT(v[1]))); in VertexAttrib2NsvNV()
319 CALL_VertexAttrib3fNV(GET_DISPATCH(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib3NsvNV()
320 SHORT_TO_FLOAT(v[1]), in VertexAttrib3NsvNV()
321 SHORT_TO_FLOAT(v[2]))); in VertexAttrib3NsvNV()
334 CALL_VertexAttrib4fNV(GET_DISPATCH(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib4NsvNV()
335 SHORT_TO_FLOAT(v[1]), in VertexAttrib4NsvNV()
336 SHORT_TO_FLOAT(v[2]), in VertexAttrib4NsvNV()
337 SHORT_TO_FLOAT(v[3]))); in VertexAttrib4NsvNV()
[all …]
Dmacros.h75 #define SHORT_TO_FLOAT(S) ((2.0F * (S) + 1.0F) * (1.0F/65535.0F)) macro
81 #define SHORT_TO_FLOATZ(S) ((S) == 0 ? 0.0F : SHORT_TO_FLOAT(S))
/external/mesa3d/src/mesa/math/
Dm_translate.c227 #define TRX_3FN(f,n) SHORT_TO_FLOAT( PTR_ELT(f,n) )
229 #define TRX_4FN(f,n) SHORT_TO_FLOAT( PTR_ELT(f,n) )
/external/mesa3d/src/mesa/tnl/
Dt_draw.c198 CONVERT(GLshort, SHORT_TO_FLOAT); in _tnl_import_array()
/external/mesa3d/src/gallium/auxiliary/util/
Du_tile.c104 #define SHORT_TO_FLOAT(S) ((2.0F * (S) + 1.0F) * (1.0F/65535.0F)) macro