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.h524 edge.stepQuadX = (double)((int64_t)a * (int64_t)(2 * FIXED_POINT_SCALE));
525 edge.stepQuadY = (double)((int64_t)b * (int64_t)(2 * FIXED_POINT_SCALE));
528 edge.stepRasterTileX = (double)((int64_t)a * (int64_t)(KNOB_TILE_X_DIM * FIXED_POINT_SCALE));
529 edge.stepRasterTileY = (double)((int64_t)b * (int64_t)(KNOB_TILE_Y_DIM * FIXED_POINT_SCALE));
532 const __m256d vQuadOffsetsXIntFix8 = _mm256_set_pd(FIXED_POINT_SCALE, 0, FIXED_POINT_SCALE, 0);
533 const __m256d vQuadOffsetsYIntFix8 = _mm256_set_pd(FIXED_POINT_SCALE, FIXED_POINT_SCALE, 0, 0);
540 …IntFix8 = _mm256_set_pd((KNOB_TILE_X_DIM - 1)*FIXED_POINT_SCALE, 0, (KNOB_TILE_X_DIM - 1)*FIXED_PO…
541 …YIntFix8 = _mm256_set_pd((KNOB_TILE_Y_DIM - 1)*FIXED_POINT_SCALE, (KNOB_TILE_Y_DIM - 1)*FIXED_POIN…
876 vX = _mm_mul_ps(_mm_cvtepi32_ps(vXi), _mm_set1_ps(1.0f / FIXED_POINT_SCALE));
877 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.cpp820 scissorInFixedPoint.xmin *= FIXED_POINT_SCALE; in SetupMacroTileScissors()
821 scissorInFixedPoint.xmax *= FIXED_POINT_SCALE; in SetupMacroTileScissors()
822 scissorInFixedPoint.ymin *= FIXED_POINT_SCALE; in SetupMacroTileScissors()
823 scissorInFixedPoint.ymax *= FIXED_POINT_SCALE; in SetupMacroTileScissors()
Dcontext.h49 #define FIXED_POINT_SCALE 256 macro
Dbinner.cpp355 vTopLeftX = SIMD_T::add_epi32(vTopLeftX, SIMD_T::set1_epi32(FIXED_POINT_SCALE / 2)); in EarlyRasterizer()
358 vTopLeftY = SIMD_T::add_epi32(vTopLeftY, SIMD_T::set1_epi32(FIXED_POINT_SCALE / 2)); in EarlyRasterizer()