Searched refs:BYTE_TO_FLOAT (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | api_arrayelt.c | 99 CALL_VertexAttrib1fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]))); in VertexAttrib1NbvNV() 111 CALL_VertexAttrib2fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]))); in VertexAttrib2NbvNV() 123 CALL_VertexAttrib3fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib3NbvNV() 124 BYTE_TO_FLOAT(v[1]), in VertexAttrib3NbvNV() 125 BYTE_TO_FLOAT(v[2]))); in VertexAttrib3NbvNV() 137 CALL_VertexAttrib4fNV(get_dispatch(), (index, BYTE_TO_FLOAT(v[0]), in VertexAttrib4NbvNV() 138 BYTE_TO_FLOAT(v[1]), in VertexAttrib4NbvNV() 139 BYTE_TO_FLOAT(v[2]), in VertexAttrib4NbvNV() 140 BYTE_TO_FLOAT(v[3]))); in VertexAttrib4NbvNV() 604 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 | 1673 ATTR4F(0, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), BYTE_TO_FLOAT(v[2]), BYTE_TO_FLOAT(v[3])); in TAG() 1675 …ATTR4F(VBO_ATTRIB_GENERIC0 + index, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), BYTE_TO_FLOAT(v[2]),… in TAG() 2461 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(red), in TAG() 2462 BYTE_TO_FLOAT(green), in TAG() 2463 BYTE_TO_FLOAT(blue), in TAG() 2519 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), in TAG() 2520 BYTE_TO_FLOAT(v[2]), 1.0); in TAG() 2576 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(red), BYTE_TO_FLOAT(green), in TAG() 2577 BYTE_TO_FLOAT(blue), BYTE_TO_FLOAT(alpha)); in TAG() 2643 ATTR4F(VBO_ATTRIB_COLOR0, BYTE_TO_FLOAT(v[0]), BYTE_TO_FLOAT(v[1]), in TAG() [all …]
|