Searched refs:FLOAT_TO_INT (Results 1 – 7 of 7) sorted by relevance
443 params[0] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[0]); in _mesa_GetLightiv()444 params[1] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[1]); in _mesa_GetLightiv()445 params[2] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[2]); in _mesa_GetLightiv()446 params[3] = FLOAT_TO_INT(ctx->Light.LightSource[l].Ambient[3]); in _mesa_GetLightiv()449 params[0] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[0]); in _mesa_GetLightiv()450 params[1] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[1]); in _mesa_GetLightiv()451 params[2] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[2]); in _mesa_GetLightiv()452 params[3] = FLOAT_TO_INT(ctx->Light.LightSource[l].Diffuse[3]); in _mesa_GetLightiv()455 params[0] = FLOAT_TO_INT(ctx->Light.LightSource[l].Specular[0]); in _mesa_GetLightiv()456 params[1] = FLOAT_TO_INT(ctx->Light.LightSource[l].Specular[1]); in _mesa_GetLightiv()[all …]
822 params[0] = FLOAT_TO_INT( texUnit->EnvColor[0] ); in _mesa_gettexenviv_indexed()823 params[1] = FLOAT_TO_INT( texUnit->EnvColor[1] ); in _mesa_gettexenviv_indexed()824 params[2] = FLOAT_TO_INT( texUnit->EnvColor[2] ); in _mesa_gettexenviv_indexed()825 params[3] = FLOAT_TO_INT( texUnit->EnvColor[3] ); in _mesa_gettexenviv_indexed()
2007 params[3] = FLOAT_TO_INT(((GLfloat *) p)[3]); in _mesa_GetIntegerv()2010 params[2] = FLOAT_TO_INT(((GLfloat *) p)[2]); in _mesa_GetIntegerv()2013 params[1] = FLOAT_TO_INT(((GLfloat *) p)[1]); in _mesa_GetIntegerv()2016 params[0] = FLOAT_TO_INT(((GLfloat *) p)[0]); in _mesa_GetIntegerv()2020 params[1] = FLOAT_TO_INT(((GLdouble *) p)[1]); in _mesa_GetIntegerv()2023 params[0] = FLOAT_TO_INT(((GLdouble *) p)[0]); in _mesa_GetIntegerv()2073 params[i] = FLOAT_TO_INT(m->m[i]); in _mesa_GetIntegerv()2079 params[i] = FLOAT_TO_INT(m->m[transpose[i]]); in _mesa_GetIntegerv()2133 params[3] = FLOAT_TO_INT(((GLfloat *) p)[3]); in _mesa_GetInteger64v()2136 params[2] = FLOAT_TO_INT(((GLfloat *) p)[2]); in _mesa_GetInteger64v()[all …]
1556 params[0] = FLOAT_TO_INT(sampObj->Attrib.state.border_color.f[0]); in _mesa_GetSamplerParameteriv()1557 params[1] = FLOAT_TO_INT(sampObj->Attrib.state.border_color.f[1]); in _mesa_GetSamplerParameteriv()1558 params[2] = FLOAT_TO_INT(sampObj->Attrib.state.border_color.f[2]); in _mesa_GetSamplerParameteriv()1559 params[3] = FLOAT_TO_INT(sampObj->Attrib.state.border_color.f[3]); in _mesa_GetSamplerParameteriv()
2481 params[0] = FLOAT_TO_INT(b[0]); in get_tex_parameteriv()2482 params[1] = FLOAT_TO_INT(b[1]); in get_tex_parameteriv()2483 params[2] = FLOAT_TO_INT(b[2]); in get_tex_parameteriv()2484 params[3] = FLOAT_TO_INT(b[3]); in get_tex_parameteriv()2497 *params = FLOAT_TO_INT(obj->Attrib.Priority); in get_tex_parameteriv()
111 #define FLOAT_TO_INT(X) ( (GLint) (2147483647.0 * (X)) ) macro
1094 dst[i] = FLOAT_TO_INT( depthSpan[i] ); in _mesa_pack_depth_span()