Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_blend.c819 GLfloat (*rgbaF)[4], (*destF)[4]; in blend_general() local
821 rgbaF = (GLfloat (*)[4]) malloc(4 * n * sizeof(GLfloat)); in blend_general()
823 if (!rgbaF || !destF) { in blend_general()
824 free(rgbaF); in blend_general()
837 rgbaF[i][RCOMP] = UBYTE_TO_FLOAT(rgba[i][RCOMP]); in blend_general()
838 rgbaF[i][GCOMP] = UBYTE_TO_FLOAT(rgba[i][GCOMP]); in blend_general()
839 rgbaF[i][BCOMP] = UBYTE_TO_FLOAT(rgba[i][BCOMP]); in blend_general()
840 rgbaF[i][ACOMP] = UBYTE_TO_FLOAT(rgba[i][ACOMP]); in blend_general()
848 blend_general_float(ctx, n, mask, rgbaF, destF, chanType); in blend_general()
852 _mesa_unclamped_float_rgba_to_ubyte(rgba[i], rgbaF[i]); in blend_general()
[all …]