Searched refs:SHORT_TO_FLOAT (Results 1 – 7 of 7) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | api_arrayelt.c | 211 CALL_VertexAttrib1fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]))); in VertexAttrib1NsvNV() 223 CALL_VertexAttrib2fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib2NsvNV() 224 SHORT_TO_FLOAT(v[1]))); in VertexAttrib2NsvNV() 236 CALL_VertexAttrib3fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib3NsvNV() 237 SHORT_TO_FLOAT(v[1]), in VertexAttrib3NsvNV() 238 SHORT_TO_FLOAT(v[2]))); in VertexAttrib3NsvNV() 251 CALL_VertexAttrib4fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib4NsvNV() 252 SHORT_TO_FLOAT(v[1]), in VertexAttrib4NsvNV() 253 SHORT_TO_FLOAT(v[2]), in VertexAttrib4NsvNV() 254 SHORT_TO_FLOAT(v[3]))); in VertexAttrib4NsvNV() [all …]
|
D | macros.h | 80 #define SHORT_TO_FLOAT(S) ((2.0F * (S) + 1.0F) * (1.0F/65535.0F)) macro 86 #define SHORT_TO_FLOATZ(S) ((S) == 0 ? 0.0F : SHORT_TO_FLOAT(S))
|
D | texcompress_etc.c | 1426 texel[RCOMP] = SHORT_TO_FLOAT(dst); in fetch_etc2_signed_r11_eac() 1450 texel[RCOMP] = SHORT_TO_FLOAT(dst[0]); in fetch_etc2_signed_rg11_eac() 1451 texel[GCOMP] = SHORT_TO_FLOAT(dst[1]); in fetch_etc2_signed_rg11_eac()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_attrib_tmp.h | 1539 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), in TAG() 1540 SHORT_TO_FLOAT(blue), 1.0); in TAG() 1595 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), in TAG() 1596 SHORT_TO_FLOAT(v[2]), 1.0); in TAG() 1654 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), in TAG() 1655 SHORT_TO_FLOAT(blue), SHORT_TO_FLOAT(alpha)); in TAG() 1712 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), in TAG() 1713 SHORT_TO_FLOAT(v[2]), SHORT_TO_FLOAT(v[3])); in TAG() 1847 ATTR3F(VBO_ATTRIB_NORMAL, SHORT_TO_FLOAT(nx), SHORT_TO_FLOAT(ny), SHORT_TO_FLOAT(nz)); in TAG() 1875 ATTR3F(VBO_ATTRIB_NORMAL, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), SHORT_TO_FLOAT(v[2])); in TAG() [all …]
|
/external/mesa3d/src/mesa/math/ |
D | m_translate.c | 221 #define TRX_3FN(f,n) SHORT_TO_FLOAT( PTR_ELT(f,n) ) 223 #define TRX_4FN(f,n) SHORT_TO_FLOAT( PTR_ELT(f,n) )
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_tile.c | 88 #define SHORT_TO_FLOAT(S) ((2.0F * (S) + 1.0F) * (1.0F/65535.0F)) macro
|
/external/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 208 CONVERT(GLshort, SHORT_TO_FLOAT); in _tnl_import_array()
|