Searched refs:SHORT_TO_FLOAT (Results 1 – 5 of 5) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | api_arrayelt.c | 212 CALL_VertexAttrib1fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]))); in VertexAttrib1NsvNV() 224 CALL_VertexAttrib2fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib2NsvNV() 225 SHORT_TO_FLOAT(v[1]))); in VertexAttrib2NsvNV() 237 CALL_VertexAttrib3fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib3NsvNV() 238 SHORT_TO_FLOAT(v[1]), in VertexAttrib3NsvNV() 239 SHORT_TO_FLOAT(v[2]))); in VertexAttrib3NsvNV() 252 CALL_VertexAttrib4fNV(get_dispatch(), (index, SHORT_TO_FLOAT(v[0]), in VertexAttrib4NsvNV() 253 SHORT_TO_FLOAT(v[1]), in VertexAttrib4NsvNV() 254 SHORT_TO_FLOAT(v[2]), in VertexAttrib4NsvNV() 255 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()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_attrib_tmp.h | 1685 … ATTR4F(0, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), SHORT_TO_FLOAT(v[2]), SHORT_TO_FLOAT(v[3])); in TAG() 1687 …ATTR4F(VBO_ATTRIB_GENERIC0 + index, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), SHORT_TO_FLOAT(v[2… in TAG() 2486 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), in TAG() 2487 SHORT_TO_FLOAT(blue), 1.0); in TAG() 2542 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), in TAG() 2543 SHORT_TO_FLOAT(v[2]), 1.0); in TAG() 2601 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(red), SHORT_TO_FLOAT(green), in TAG() 2602 SHORT_TO_FLOAT(blue), SHORT_TO_FLOAT(alpha)); in TAG() 2659 ATTR4F(VBO_ATTRIB_COLOR0, SHORT_TO_FLOAT(v[0]), SHORT_TO_FLOAT(v[1]), in TAG() 2660 SHORT_TO_FLOAT(v[2]), SHORT_TO_FLOAT(v[3])); in TAG() [all …]
|
/third_party/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
|