Lines Matching refs:scaleRGB
91 const GLfloat scaleRGB = (GLfloat) (1 << combine->ScaleShiftRGB); in texture_combine() local
308 rgba[i][RCOMP] = arg0[i][RCOMP] * scaleRGB; in texture_combine()
309 rgba[i][GCOMP] = arg0[i][GCOMP] * scaleRGB; in texture_combine()
310 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB; in texture_combine()
315 rgba[i][RCOMP] = arg0[i][RCOMP] * arg1[i][RCOMP] * scaleRGB; in texture_combine()
316 rgba[i][GCOMP] = arg0[i][GCOMP] * arg1[i][GCOMP] * scaleRGB; in texture_combine()
317 rgba[i][BCOMP] = arg0[i][BCOMP] * arg1[i][BCOMP] * scaleRGB; in texture_combine()
325 arg2[i][RCOMP] * arg3[i][RCOMP]) * scaleRGB; in texture_combine()
327 arg2[i][GCOMP] * arg3[i][GCOMP]) * scaleRGB; in texture_combine()
329 arg2[i][BCOMP] * arg3[i][BCOMP]) * scaleRGB; in texture_combine()
335 rgba[i][RCOMP] = (arg0[i][RCOMP] + arg1[i][RCOMP]) * scaleRGB; in texture_combine()
336 rgba[i][GCOMP] = (arg0[i][GCOMP] + arg1[i][GCOMP]) * scaleRGB; in texture_combine()
337 rgba[i][BCOMP] = (arg0[i][BCOMP] + arg1[i][BCOMP]) * scaleRGB; in texture_combine()
346 arg2[i][RCOMP] * arg3[i][RCOMP] - 0.5F) * scaleRGB; in texture_combine()
348 arg2[i][GCOMP] * arg3[i][GCOMP] - 0.5F) * scaleRGB; in texture_combine()
350 arg2[i][BCOMP] * arg3[i][BCOMP] - 0.5F) * scaleRGB; in texture_combine()
355 rgba[i][RCOMP] = (arg0[i][RCOMP] + arg1[i][RCOMP] - 0.5F) * scaleRGB; in texture_combine()
356 rgba[i][GCOMP] = (arg0[i][GCOMP] + arg1[i][GCOMP] - 0.5F) * scaleRGB; in texture_combine()
357 rgba[i][BCOMP] = (arg0[i][BCOMP] + arg1[i][BCOMP] - 0.5F) * scaleRGB; in texture_combine()
364 arg1[i][RCOMP] * (1.0F - arg2[i][RCOMP])) * scaleRGB; in texture_combine()
366 arg1[i][GCOMP] * (1.0F - arg2[i][GCOMP])) * scaleRGB; in texture_combine()
368 arg1[i][BCOMP] * (1.0F - arg2[i][BCOMP])) * scaleRGB; in texture_combine()
373 rgba[i][RCOMP] = (arg0[i][RCOMP] - arg1[i][RCOMP]) * scaleRGB; in texture_combine()
374 rgba[i][GCOMP] = (arg0[i][GCOMP] - arg1[i][GCOMP]) * scaleRGB; in texture_combine()
375 rgba[i][BCOMP] = (arg0[i][BCOMP] - arg1[i][BCOMP]) * scaleRGB; in texture_combine()
397 * 4.0F * scaleRGB; in texture_combine()
405 arg1[i][RCOMP]) * scaleRGB; in texture_combine()
407 arg1[i][GCOMP]) * scaleRGB; in texture_combine()
409 arg1[i][BCOMP]) * scaleRGB; in texture_combine()
415 arg1[i][RCOMP] - 0.5F) * scaleRGB; in texture_combine()
417 arg1[i][GCOMP] - 0.5F) * scaleRGB; in texture_combine()
419 arg1[i][BCOMP] - 0.5F) * scaleRGB; in texture_combine()
425 arg1[i][RCOMP]) * scaleRGB; in texture_combine()
427 arg1[i][GCOMP]) * scaleRGB; in texture_combine()
429 arg1[i][BCOMP]) * scaleRGB; in texture_combine()