• Home
  • Raw
  • Download

Lines Matching refs:FLOAT_TO_INT

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()
457 params[2] = FLOAT_TO_INT(ctx->Light.LightSource[l].Specular[2]); in _mesa_GetLightiv()
458 params[3] = FLOAT_TO_INT(ctx->Light.LightSource[l].Specular[3]); in _mesa_GetLightiv()
908 params[0] = FLOAT_TO_INT( mat[MAT_ATTRIB_AMBIENT(f)][0] ); in _mesa_GetMaterialiv()
909 params[1] = FLOAT_TO_INT( mat[MAT_ATTRIB_AMBIENT(f)][1] ); in _mesa_GetMaterialiv()
910 params[2] = FLOAT_TO_INT( mat[MAT_ATTRIB_AMBIENT(f)][2] ); in _mesa_GetMaterialiv()
911 params[3] = FLOAT_TO_INT( mat[MAT_ATTRIB_AMBIENT(f)][3] ); in _mesa_GetMaterialiv()
914 params[0] = FLOAT_TO_INT( mat[MAT_ATTRIB_DIFFUSE(f)][0] ); in _mesa_GetMaterialiv()
915 params[1] = FLOAT_TO_INT( mat[MAT_ATTRIB_DIFFUSE(f)][1] ); in _mesa_GetMaterialiv()
916 params[2] = FLOAT_TO_INT( mat[MAT_ATTRIB_DIFFUSE(f)][2] ); in _mesa_GetMaterialiv()
917 params[3] = FLOAT_TO_INT( mat[MAT_ATTRIB_DIFFUSE(f)][3] ); in _mesa_GetMaterialiv()
920 params[0] = FLOAT_TO_INT( mat[MAT_ATTRIB_SPECULAR(f)][0] ); in _mesa_GetMaterialiv()
921 params[1] = FLOAT_TO_INT( mat[MAT_ATTRIB_SPECULAR(f)][1] ); in _mesa_GetMaterialiv()
922 params[2] = FLOAT_TO_INT( mat[MAT_ATTRIB_SPECULAR(f)][2] ); in _mesa_GetMaterialiv()
923 params[3] = FLOAT_TO_INT( mat[MAT_ATTRIB_SPECULAR(f)][3] ); in _mesa_GetMaterialiv()
926 params[0] = FLOAT_TO_INT( mat[MAT_ATTRIB_EMISSION(f)][0] ); in _mesa_GetMaterialiv()
927 params[1] = FLOAT_TO_INT( mat[MAT_ATTRIB_EMISSION(f)][1] ); in _mesa_GetMaterialiv()
928 params[2] = FLOAT_TO_INT( mat[MAT_ATTRIB_EMISSION(f)][2] ); in _mesa_GetMaterialiv()
929 params[3] = FLOAT_TO_INT( mat[MAT_ATTRIB_EMISSION(f)][3] ); in _mesa_GetMaterialiv()