Searched refs:FLOAT_TO_INT (Results 1 – 13 of 13) sorted by relevance
397 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[0]); in _mesa_GetLightiv()398 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[1]); in _mesa_GetLightiv()399 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[2]); in _mesa_GetLightiv()400 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Ambient[3]); in _mesa_GetLightiv()403 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[0]); in _mesa_GetLightiv()404 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[1]); in _mesa_GetLightiv()405 params[2] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[2]); in _mesa_GetLightiv()406 params[3] = FLOAT_TO_INT(ctx->Light.Light[l].Diffuse[3]); in _mesa_GetLightiv()409 params[0] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[0]); in _mesa_GetLightiv()410 params[1] = FLOAT_TO_INT(ctx->Light.Light[l].Specular[1]); in _mesa_GetLightiv()[all …]
747 params[0] = FLOAT_TO_INT( texUnit->EnvColor[0] ); in _mesa_GetTexEnviv()748 params[1] = FLOAT_TO_INT( texUnit->EnvColor[1] ); in _mesa_GetTexEnviv()749 params[2] = FLOAT_TO_INT( texUnit->EnvColor[2] ); in _mesa_GetTexEnviv()750 params[3] = FLOAT_TO_INT( texUnit->EnvColor[3] ); in _mesa_GetTexEnviv()880 param[0] = FLOAT_TO_INT(texUnit->RotMatrix[0]); in _mesa_GetTexBumpParameterivATI()881 param[1] = FLOAT_TO_INT(texUnit->RotMatrix[1]); in _mesa_GetTexBumpParameterivATI()882 param[2] = FLOAT_TO_INT(texUnit->RotMatrix[2]); in _mesa_GetTexBumpParameterivATI()883 param[3] = FLOAT_TO_INT(texUnit->RotMatrix[3]); in _mesa_GetTexBumpParameterivATI()
2120 dst[i] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()2124 dst[i] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()2128 dst[i] = FLOAT_TO_INT(rgba[i][BCOMP]); in _mesa_pack_rgba_span_float()2132 dst[i] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()2136 dst[i] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()2140 dst[i*2+0] = FLOAT_TO_INT(luminance[i]); in _mesa_pack_rgba_span_float()2141 dst[i*2+1] = FLOAT_TO_INT(rgba[i][ACOMP]); in _mesa_pack_rgba_span_float()2146 dst[i*2+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()2147 dst[i*2+1] = FLOAT_TO_INT(rgba[i][GCOMP]); in _mesa_pack_rgba_span_float()2152 dst[i*3+0] = FLOAT_TO_INT(rgba[i][RCOMP]); in _mesa_pack_rgba_span_float()[all …]
1509 params[0] = FLOAT_TO_INT(b[0]); in _mesa_GetTexParameteriv()1510 params[1] = FLOAT_TO_INT(b[1]); in _mesa_GetTexParameteriv()1511 params[2] = FLOAT_TO_INT(b[2]); in _mesa_GetTexParameteriv()1512 params[3] = FLOAT_TO_INT(b[3]); in _mesa_GetTexParameteriv()1525 *params = FLOAT_TO_INT(obj->Priority); in _mesa_GetTexParameteriv()
1176 params[0] = FLOAT_TO_INT(sampObj->BorderColor.f[0]); in _mesa_GetSamplerParameteriv()1177 params[1] = FLOAT_TO_INT(sampObj->BorderColor.f[1]); in _mesa_GetSamplerParameteriv()1178 params[2] = FLOAT_TO_INT(sampObj->BorderColor.f[2]); in _mesa_GetSamplerParameteriv()1179 params[3] = FLOAT_TO_INT(sampObj->BorderColor.f[3]); in _mesa_GetSamplerParameteriv()
2271 params[3] = FLOAT_TO_INT(((GLfloat *) p)[3]); in _mesa_GetIntegerv()2273 params[2] = FLOAT_TO_INT(((GLfloat *) p)[2]); in _mesa_GetIntegerv()2275 params[1] = FLOAT_TO_INT(((GLfloat *) p)[1]); in _mesa_GetIntegerv()2277 params[0] = FLOAT_TO_INT(((GLfloat *) p)[0]); in _mesa_GetIntegerv()2281 params[0] = FLOAT_TO_INT(((GLdouble *) p)[0]); in _mesa_GetIntegerv()2312 params[i] = FLOAT_TO_INT(m->m[i]); in _mesa_GetIntegerv()2318 params[i] = FLOAT_TO_INT(m->m[transpose[i]]); in _mesa_GetIntegerv()
106 #define FLOAT_TO_INT(X) ( (GLint) (2147483647.0 * (X)) ) macro
170 public static final int FLOAT_TO_INT = 0x87; field in Opcodes
566 public static final Info FLOAT_TO_INT = field in OpcodeInfo567 new Info(Opcodes.FLOAT_TO_INT, "float-to-int",1231 set(FLOAT_TO_INT);
573 public static final Dop FLOAT_TO_INT = field in Dops574 new Dop(Opcodes.FLOAT_TO_INT, Opcodes.FLOAT_TO_INT,1232 set(FLOAT_TO_INT);
360 MAP.put(Rops.CONV_F2I, Dops.FLOAT_TO_INT); in MAP.put() argument
170 …FLOAT_TO_INT(0x87, "float-to-int", ReferenceType.NONE, Format.Format12x, Opcode.CAN_CONTINUE | Opc… enumConstant
838 case FLOAT_TO_INT: