Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Drasterizer_impl.h555 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 …]
Drasterizer.h43 __m128 vFixed = _mm_mul_ps(vIn, _mm_set1_ps(FIXED_POINT_SCALE)); in fpToFixedPoint()
Dapi.cpp817 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()
Dcontext.h50 #define FIXED_POINT_SCALE 256 macro
Dbinner.cpp363 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()