Searched refs:FIXED_POINT_SCALE (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | rasterizer_impl.h | 555 edge.stepQuadX = (double)((int64_t)a * (int64_t)(2 * FIXED_POINT_SCALE)); 556 edge.stepQuadY = (double)((int64_t)b * (int64_t)(2 * FIXED_POINT_SCALE)); 559 edge.stepRasterTileX = (double)((int64_t)a * (int64_t)(KNOB_TILE_X_DIM * FIXED_POINT_SCALE)); 560 edge.stepRasterTileY = (double)((int64_t)b * (int64_t)(KNOB_TILE_Y_DIM * FIXED_POINT_SCALE)); 563 const __m256d vQuadOffsetsXIntFix8 = _mm256_set_pd(FIXED_POINT_SCALE, 0, FIXED_POINT_SCALE, 0); 564 const __m256d vQuadOffsetsYIntFix8 = _mm256_set_pd(FIXED_POINT_SCALE, FIXED_POINT_SCALE, 0, 0); 572 (KNOB_TILE_X_DIM - 1) * FIXED_POINT_SCALE, 0, (KNOB_TILE_X_DIM - 1) * FIXED_POINT_SCALE, 0); 574 (KNOB_TILE_Y_DIM - 1) * FIXED_POINT_SCALE, (KNOB_TILE_Y_DIM - 1) * FIXED_POINT_SCALE, 0, 0); 957 vX = _mm_mul_ps(_mm_cvtepi32_ps(vXi), _mm_set1_ps(1.0f / FIXED_POINT_SCALE)); 958 vY = _mm_mul_ps(_mm_cvtepi32_ps(vYi), _mm_set1_ps(1.0f / FIXED_POINT_SCALE)); [all …]
|
D | rasterizer.h | 43 __m128 vFixed = _mm_mul_ps(vIn, _mm_set1_ps(FIXED_POINT_SCALE)); in fpToFixedPoint()
|
D | api.cpp | 817 scissorInFixedPoint.xmin *= FIXED_POINT_SCALE; in SetupMacroTileScissors() 818 scissorInFixedPoint.xmax *= FIXED_POINT_SCALE; in SetupMacroTileScissors() 819 scissorInFixedPoint.ymin *= FIXED_POINT_SCALE; in SetupMacroTileScissors() 820 scissorInFixedPoint.ymax *= FIXED_POINT_SCALE; in SetupMacroTileScissors()
|
D | context.h | 50 #define FIXED_POINT_SCALE 256 macro
|
D | binner.cpp | 363 vTopLeftX = SIMD_T::add_epi32(vTopLeftX, SIMD_T::set1_epi32(FIXED_POINT_SCALE / 2)); in EarlyRasterizer() 367 vTopLeftY = SIMD_T::add_epi32(vTopLeftY, SIMD_T::set1_epi32(FIXED_POINT_SCALE / 2)); in EarlyRasterizer()
|