Searched refs:BYTE_TO_FLOAT (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | api_arrayelt.c | 98 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 …]
|
D | macros.h | 56 #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))
|
D | texcompress_rgtc.c | 360 texel[BCOMP] = BYTE_TO_FLOAT(red); in fetch_signed_l_latc1()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_attrib_tmp.h | 1649 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/ |
D | m_translate.c | 116 #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/ |
D | t_draw.c | 196 CONVERT(GLbyte, BYTE_TO_FLOAT); in _tnl_import_array()
|