Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dapi_arrayelt.c98 CALL_VertexAttrib1fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvNV()
110 CALL_VertexAttrib2fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]))); in VertexAttrib2NbvNV()
122 CALL_VertexAttrib3fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib3NbvNV()
123 BYTE_TO_FLOAT(v[1]), in VertexAttrib3NbvNV()
124 BYTE_TO_FLOAT(v[2]))); in VertexAttrib3NbvNV()
136 CALL_VertexAttrib4fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib4NbvNV()
137 BYTE_TO_FLOAT(v[1]), in VertexAttrib4NbvNV()
138 BYTE_TO_FLOAT(v[2]), in VertexAttrib4NbvNV()
139 BYTE_TO_FLOAT(v[3]))); in VertexAttrib4NbvNV()
603 CALL_VertexAttrib1fARB(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvARB()
[all …]
Dmacros.h56 #define BYTE_TO_FLOAT(B) ((2.0F * (B) + 1.0F) * (1.0F/255.0F)) macro
63 #define BYTE_TO_FLOATZ(B) ((B) == 0 ? 0.0F : BYTE_TO_FLOAT(B))
Dtexcompress_rgtc.c360 texel[BCOMP] = BYTE_TO_FLOAT(red); in fetch_signed_l_latc1()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_attrib_tmp.h1649 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(red), in TAG()
1650 BYTE_TO_FLOAT(green), in TAG()
1651 BYTE_TO_FLOAT(blue), in TAG()
1707 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), in TAG()
1708 BYTE_TO_FLOAT(v[2]), 1.0); in TAG()
1764 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(red), BYTE_TO_FLOAT(green), in TAG()
1765 BYTE_TO_FLOAT(blue), BYTE_TO_FLOAT(alpha)); in TAG()
1831 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), in TAG()
1832 BYTE_TO_FLOAT(v[2]), BYTE_TO_FLOAT(v[3])); in TAG()
1961 ATTR3F(VBO_ATTRIB_NORMAL, BYTE_TO_FLOAT(nx), BYTE_TO_FLOAT(ny), BYTE_TO_FLOAT(nz)); in TAG()
[all …]
/third_party/mesa3d/src/mesa/math/
Dm_translate.c116 #define TRX_3FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
118 #define TRX_4F(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
122 #define TRX_4FN(f,n) BYTE_TO_FLOAT( PTR_ELT(f,n) )
/third_party/mesa3d/src/mesa/tnl/
Dt_draw.c196 CONVERT(GLbyte, BYTE_TO_FLOAT); in _tnl_import_array()