Searched refs:PREMULTIPLY (Results 1 – 2 of 2) sorted by relevance
214 #define PREMULTIPLY(x, m) (((x) * (m)) >> 23) macro217 #define PREMULTIPLY(x, m) (((x) * (m) + (1U << 23)) >> 24) macro230 rgb[4 * i + 0] = PREMULTIPLY(rgb[4 * i + 0], mult); in ApplyAlphaMultiply()231 rgb[4 * i + 1] = PREMULTIPLY(rgb[4 * i + 1], mult); in ApplyAlphaMultiply()232 rgb[4 * i + 2] = PREMULTIPLY(rgb[4 * i + 2], mult); in ApplyAlphaMultiply()239 #undef PREMULTIPLY
63 #define SHADERS_GET_PREMULTIPLY_SHADER(id) _SHADERS_GET_STAGE(PREMULTIPLY, id)