Searched refs:INT_TO_FLOAT (Results 1 – 12 of 12) sorted by relevance
/third_party/mesa3d/src/mesa/main/ |
D | api_arrayelt.c | 328 CALL_VertexAttrib1fNV(get_dispatch(), (index, INT_TO_FLOAT(v[0]))); in VertexAttrib1NivNV() 340 CALL_VertexAttrib2fNV(get_dispatch(), (index, INT_TO_FLOAT(v[0]), in VertexAttrib2NivNV() 341 INT_TO_FLOAT(v[1]))); in VertexAttrib2NivNV() 353 CALL_VertexAttrib3fNV(get_dispatch(), (index, INT_TO_FLOAT(v[0]), in VertexAttrib3NivNV() 354 INT_TO_FLOAT(v[1]), in VertexAttrib3NivNV() 355 INT_TO_FLOAT(v[2]))); in VertexAttrib3NivNV() 368 CALL_VertexAttrib4fNV(get_dispatch(), (index, INT_TO_FLOAT(v[0]), in VertexAttrib4NivNV() 369 INT_TO_FLOAT(v[1]), in VertexAttrib4NivNV() 370 INT_TO_FLOAT(v[2]), in VertexAttrib4NivNV() 371 INT_TO_FLOAT(v[3]))); in VertexAttrib4NivNV() [all …]
|
D | fog.c | 69 p[0] = INT_TO_FLOAT( params[0] ); in _mesa_Fogiv() 70 p[1] = INT_TO_FLOAT( params[1] ); in _mesa_Fogiv() 71 p[2] = INT_TO_FLOAT( params[2] ); in _mesa_Fogiv() 72 p[3] = INT_TO_FLOAT( params[3] ); in _mesa_Fogiv()
|
D | texenv.c | 566 p[0] = INT_TO_FLOAT( param[0] ); in _mesa_TexEnviv() 567 p[1] = INT_TO_FLOAT( param[1] ); in _mesa_TexEnviv() 568 p[2] = INT_TO_FLOAT( param[2] ); in _mesa_TexEnviv() 569 p[3] = INT_TO_FLOAT( param[3] ); in _mesa_TexEnviv() 618 p[0] = INT_TO_FLOAT( param[0] ); in _mesa_MultiTexEnvivEXT() 619 p[1] = INT_TO_FLOAT( param[1] ); in _mesa_MultiTexEnvivEXT() 620 p[2] = INT_TO_FLOAT( param[2] ); in _mesa_MultiTexEnvivEXT() 621 p[3] = INT_TO_FLOAT( param[3] ); in _mesa_MultiTexEnvivEXT()
|
D | light.c | 348 fparam[0] = INT_TO_FLOAT( params[0] ); in _mesa_Lightiv() 349 fparam[1] = INT_TO_FLOAT( params[1] ); in _mesa_Lightiv() 350 fparam[2] = INT_TO_FLOAT( params[2] ); in _mesa_Lightiv() 351 fparam[3] = INT_TO_FLOAT( params[3] ); in _mesa_Lightiv() 571 fparam[0] = INT_TO_FLOAT( params[0] ); in _mesa_LightModeliv() 572 fparam[1] = INT_TO_FLOAT( params[1] ); in _mesa_LightModeliv() 573 fparam[2] = INT_TO_FLOAT( params[2] ); in _mesa_LightModeliv() 574 fparam[3] = INT_TO_FLOAT( params[3] ); in _mesa_LightModeliv()
|
D | samplerobj.c | 1195 c[0] = INT_TO_FLOAT(params[0]); in _mesa_SamplerParameteriv() 1196 c[1] = INT_TO_FLOAT(params[1]); in _mesa_SamplerParameteriv() 1197 c[2] = INT_TO_FLOAT(params[2]); in _mesa_SamplerParameteriv() 1198 c[3] = INT_TO_FLOAT(params[3]); in _mesa_SamplerParameteriv()
|
D | texparam.c | 1042 fparams[0] = INT_TO_FLOAT(params[0]); in _mesa_texture_parameteriv() 1043 fparams[1] = INT_TO_FLOAT(params[1]); in _mesa_texture_parameteriv() 1044 fparams[2] = INT_TO_FLOAT(params[2]); in _mesa_texture_parameteriv() 1045 fparams[3] = INT_TO_FLOAT(params[3]); in _mesa_texture_parameteriv()
|
D | macros.h | 104 #define INT_TO_FLOAT(I) ((GLfloat) ((2.0F * (I) + 1.0F) * (1.0F/4294967294.0))) macro
|
D | dlist.c | 2819 p[0] = INT_TO_FLOAT(params[0]); in save_Fogiv() 2820 p[1] = INT_TO_FLOAT(params[1]); in save_Fogiv() 2821 p[2] = INT_TO_FLOAT(params[2]); in save_Fogiv() 2822 p[3] = INT_TO_FLOAT(params[3]); in save_Fogiv() 2998 fparam[0] = INT_TO_FLOAT(params[0]); in save_Lightiv() 2999 fparam[1] = INT_TO_FLOAT(params[1]); in save_Lightiv() 3000 fparam[2] = INT_TO_FLOAT(params[2]); in save_Lightiv() 3001 fparam[3] = INT_TO_FLOAT(params[3]); in save_Lightiv() 3075 fparam[0] = INT_TO_FLOAT(params[0]); in save_LightModeliv() 3076 fparam[1] = INT_TO_FLOAT(params[1]); in save_LightModeliv() [all …]
|
D | pack.c | 853 DEPTH_VALUES(GLint, INT_TO_FLOAT); in _mesa_unpack_depth_span()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_attrib_tmp.h | 1666 ATTR4F(VBO_ATTRIB_COLOR0, INT_TO_FLOAT(red), INT_TO_FLOAT(green), in TAG() 1667 INT_TO_FLOAT(blue), 1.0); in TAG() 1722 ATTR4F(VBO_ATTRIB_COLOR0, INT_TO_FLOAT(v[0]), INT_TO_FLOAT(v[1]), in TAG() 1723 INT_TO_FLOAT(v[2]), 1.0); in TAG() 1780 ATTR4F(VBO_ATTRIB_COLOR0, INT_TO_FLOAT(red), INT_TO_FLOAT(green), in TAG() 1781 INT_TO_FLOAT(blue), INT_TO_FLOAT(alpha)); in TAG() 1822 ATTR4F(VBO_ATTRIB_COLOR0, INT_TO_FLOAT(v[0]), INT_TO_FLOAT(v[1]), in TAG() 1823 INT_TO_FLOAT(v[2]), INT_TO_FLOAT(v[3])); in TAG() 1975 ATTR3F(VBO_ATTRIB_NORMAL, INT_TO_FLOAT(nx), INT_TO_FLOAT(ny), INT_TO_FLOAT(nz)); in TAG() 2003 ATTR3F(VBO_ATTRIB_NORMAL, INT_TO_FLOAT(v[0]), INT_TO_FLOAT(v[1]), INT_TO_FLOAT(v[2])); in TAG() [all …]
|
/third_party/mesa3d/src/mesa/math/ |
D | m_translate.c | 328 #define TRX_3FN(f,n) INT_TO_FLOAT( PTR_ELT(f,n) ) 330 #define TRX_4FN(f,n) INT_TO_FLOAT( PTR_ELT(f,n) ) 382 #define TRX_3FN(f,n) INT_TO_FLOAT( PTR_ELT(f,n) )
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 214 CONVERT(GLint, INT_TO_FLOAT); in _tnl_import_array()
|