Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/swrast/
Ds_context.h429 #define FIXED_SHIFT FIXED_FRAC_BITS macro
430 #define FIXED_ONE (1 << FIXED_SHIFT)
431 #define FIXED_HALF (1 << (FIXED_SHIFT-1))
439 #define IntToFixed(I) ((I) << FIXED_SHIFT)
440 #define FixedToInt(X) ((X) >> FIXED_SHIFT)
441 #define FixedToUns(X) (((unsigned int)(X)) >> FIXED_SHIFT)
Ds_triangle.c254 return a + ((t * (b - a)) >> FIXED_SHIFT); in ilerp()
308 dest[RCOMP] = span->red * (sample[RCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()
309 dest[GCOMP] = span->green * (sample[GCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()
310 dest[BCOMP] = span->blue * (sample[BCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()
311 dest[ACOMP] = span->alpha * (sample[ACOMP] + 1u) >> (FIXED_SHIFT + 8) in affine_span()
315 ((sample[ACOMP] + 1) * sample[RCOMP] << FIXED_SHIFT)) \ in affine_span()
316 >> (FIXED_SHIFT + 8); \ in affine_span()
318 ((sample[ACOMP] + 1) * sample[GCOMP] << FIXED_SHIFT)) \ in affine_span()
319 >> (FIXED_SHIFT + 8); \ in affine_span()
321 ((sample[ACOMP] + 1) * sample[BCOMP] << FIXED_SHIFT)) \ in affine_span()
[all …]
Ds_linetemp.h80 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()
Ds_tritemp.h137 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast.h54 #define FIXED_SHIFT (FIXED_TYPE_WIDTH - 1) macro