Lines Matching refs:scaleRGB
92 const GLfloat scaleRGB = (GLfloat) (1 << combine->ScaleShiftRGB); in texture_combine() local
309 rgba[i][RCOMP] = arg0[i][RCOMP] * scaleRGB; in texture_combine()
310 rgba[i][GCOMP] = arg0[i][GCOMP] * scaleRGB; in texture_combine()
311 rgba[i][BCOMP] = arg0[i][BCOMP] * scaleRGB; in texture_combine()
316 rgba[i][RCOMP] = arg0[i][RCOMP] * arg1[i][RCOMP] * scaleRGB; in texture_combine()
317 rgba[i][GCOMP] = arg0[i][GCOMP] * arg1[i][GCOMP] * scaleRGB; in texture_combine()
318 rgba[i][BCOMP] = arg0[i][BCOMP] * arg1[i][BCOMP] * scaleRGB; in texture_combine()
326 arg2[i][RCOMP] * arg3[i][RCOMP]) * scaleRGB; in texture_combine()
328 arg2[i][GCOMP] * arg3[i][GCOMP]) * scaleRGB; in texture_combine()
330 arg2[i][BCOMP] * arg3[i][BCOMP]) * scaleRGB; in texture_combine()
336 rgba[i][RCOMP] = (arg0[i][RCOMP] + arg1[i][RCOMP]) * scaleRGB; in texture_combine()
337 rgba[i][GCOMP] = (arg0[i][GCOMP] + arg1[i][GCOMP]) * scaleRGB; in texture_combine()
338 rgba[i][BCOMP] = (arg0[i][BCOMP] + arg1[i][BCOMP]) * scaleRGB; in texture_combine()
347 arg2[i][RCOMP] * arg3[i][RCOMP] - 0.5F) * scaleRGB; in texture_combine()
349 arg2[i][GCOMP] * arg3[i][GCOMP] - 0.5F) * scaleRGB; in texture_combine()
351 arg2[i][BCOMP] * arg3[i][BCOMP] - 0.5F) * scaleRGB; in texture_combine()
356 rgba[i][RCOMP] = (arg0[i][RCOMP] + arg1[i][RCOMP] - 0.5F) * scaleRGB; in texture_combine()
357 rgba[i][GCOMP] = (arg0[i][GCOMP] + arg1[i][GCOMP] - 0.5F) * scaleRGB; in texture_combine()
358 rgba[i][BCOMP] = (arg0[i][BCOMP] + arg1[i][BCOMP] - 0.5F) * scaleRGB; in texture_combine()
365 arg1[i][RCOMP] * (1.0F - arg2[i][RCOMP])) * scaleRGB; in texture_combine()
367 arg1[i][GCOMP] * (1.0F - arg2[i][GCOMP])) * scaleRGB; in texture_combine()
369 arg1[i][BCOMP] * (1.0F - arg2[i][BCOMP])) * scaleRGB; in texture_combine()
374 rgba[i][RCOMP] = (arg0[i][RCOMP] - arg1[i][RCOMP]) * scaleRGB; in texture_combine()
375 rgba[i][GCOMP] = (arg0[i][GCOMP] - arg1[i][GCOMP]) * scaleRGB; in texture_combine()
376 rgba[i][BCOMP] = (arg0[i][BCOMP] - arg1[i][BCOMP]) * scaleRGB; in texture_combine()
398 * 4.0F * scaleRGB; in texture_combine()
406 arg1[i][RCOMP]) * scaleRGB; in texture_combine()
408 arg1[i][GCOMP]) * scaleRGB; in texture_combine()
410 arg1[i][BCOMP]) * scaleRGB; in texture_combine()
416 arg1[i][RCOMP] - 0.5F) * scaleRGB; in texture_combine()
418 arg1[i][GCOMP] - 0.5F) * scaleRGB; in texture_combine()
420 arg1[i][BCOMP] - 0.5F) * scaleRGB; in texture_combine()
426 arg1[i][RCOMP]) * scaleRGB; in texture_combine()
428 arg1[i][GCOMP]) * scaleRGB; in texture_combine()
430 arg1[i][BCOMP]) * scaleRGB; in texture_combine()