Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dtessellator.cpp327 #define FXP_ONE_HALF 0x00008000 macro
794 /*V*/FXP_ONE_HALF, // middle in QuadGeneratePoints()
809 DefinePoint(/*U*/FXP_ONE_HALF, // middle in QuadGeneratePoints()
1271 … fxpPerpParam = (fxpPerpParam+FXP_ONE_HALF/*round*/)>>FXP_FRACTION_BITS; // get back to n.16 in TriGeneratePoints()
1715 numPoints = (fxpCeil(FXP_ONE_HALF + (fxpTessFactor+1/*round*/)/2)*2)>>FXP_FRACTION_BITS; in NumPointsForTessFactor()
1730 …if( Odd() || (fxpHalfTessFactor == FXP_ONE_HALF)) // fxpHalfTessFactor == 1/2 if TessFactor is 1, … in ComputeTessFactorContext()
1732 fxpHalfTessFactor += FXP_ONE_HALF; in ComputeTessFactorContext()
1800 …fxpLocation = FXP_ONE_HALF; // special casing middle since 16 bit fixed math below can't reproduce… in PlacePointIn1D()
1823 fxpLocation = (fxpLocation + FXP_ONE_HALF/*round*/) >> FXP_FRACTION_BITS; // get back to n.16 in PlacePointIn1D()
/external/mesa3d/src/gallium/auxiliary/tessellator/
Dtessellator.cpp341 #define FXP_ONE_HALF 0x00008000 macro
808 /*V*/FXP_ONE_HALF, // middle in QuadGeneratePoints()
823 DefinePoint(/*U*/FXP_ONE_HALF, // middle in QuadGeneratePoints()
1285 … fxpPerpParam = (fxpPerpParam+FXP_ONE_HALF/*round*/)>>FXP_FRACTION_BITS; // get back to n.16 in TriGeneratePoints()
1729 numPoints = (fxpCeil(FXP_ONE_HALF + (fxpTessFactor+1/*round*/)/2)*2)>>FXP_FRACTION_BITS; in NumPointsForTessFactor()
1744 …if( Odd() || (fxpHalfTessFactor == FXP_ONE_HALF)) // fxpHalfTessFactor == 1/2 if TessFactor is 1, … in ComputeTessFactorContext()
1746 fxpHalfTessFactor += FXP_ONE_HALF; in ComputeTessFactorContext()
1814 …fxpLocation = FXP_ONE_HALF; // special casing middle since 16 bit fixed math below can't reproduce… in PlacePointIn1D()
1837 fxpLocation = (fxpLocation + FXP_ONE_HALF/*round*/) >> FXP_FRACTION_BITS; // get back to n.16 in PlacePointIn1D()