Home
last modified time | relevance | path

Searched refs:rgbaF (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_blend.c822 GLfloat (*rgbaF)[4], (*destF)[4]; in blend_general() local
824 rgbaF = (GLfloat (*)[4]) malloc(4 * n * sizeof(GLfloat)); in blend_general()
826 if (!rgbaF || !destF) { in blend_general()
827 free(rgbaF); in blend_general()
840 rgbaF[i][RCOMP] = UBYTE_TO_FLOAT(rgba[i][RCOMP]); in blend_general()
841 rgbaF[i][GCOMP] = UBYTE_TO_FLOAT(rgba[i][GCOMP]); in blend_general()
842 rgbaF[i][BCOMP] = UBYTE_TO_FLOAT(rgba[i][BCOMP]); in blend_general()
843 rgbaF[i][ACOMP] = UBYTE_TO_FLOAT(rgba[i][ACOMP]); in blend_general()
851 blend_general_float(ctx, n, mask, rgbaF, destF, chanType); in blend_general()
855 _mesa_unclamped_float_rgba_to_ubyte(rgba[i], rgbaF[i]); in blend_general()
[all …]