Home
last modified time | relevance | path

Searched refs:INT_32 (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.h83 UINT_32 bpp, INT_32 index, INT_32 macroModeIndex, ADDR_TILEINFO* pInfo,
90 virtual INT_32 HwlComputeMacroModeIndex(
91 INT_32 tileIndex, ADDR_SURFACE_FLAGS flags, UINT_32 bpp, UINT_32 numSamples,
102 virtual INT_32 HwlPostCheckTileIndex(
198 static const INT_32 MinDepth2DThinIndex = 0;
199 static const INT_32 MaxDepth2DThinIndex = 4;
200 static const INT_32 Depth1DThinIndex = 5;
Dciaddrlib.cpp506 INT_32 CiLib::HwlPostCheckTileIndex( in HwlPostCheckTileIndex()
513 INT_32 index = curIndex; in HwlPostCheckTileIndex()
531 for (index = 0; index < static_cast<INT_32>(m_noOfEntries); index++) in HwlPostCheckTileIndex()
576 ADDR_ASSERT(index < static_cast<INT_32>(m_noOfEntries)); in HwlPostCheckTileIndex()
578 if (index >= static_cast<INT_32>(m_noOfEntries)) in HwlPostCheckTileIndex()
598 INT_32 index, ///< Tile index in HwlSetupTileCfg()
599 INT_32 macroModeIndex, ///< Index in macro tile mode table(CI) in HwlSetupTileCfg()
809 INT_32 tileIndex = tileMode == ADDR_TM_2D_TILED_THIN1 ? 14 : 15; in HwlComputeFmaskInfo()
813 INT_32 macroModeIndex = TileIndexInvalid; in HwlComputeFmaskInfo()
1480 ADDR_ASSERT((index + 1) < static_cast<INT_32>(m_noOfEntries)); in HwlSetupTileInfo()
[all …]
Dsiaddrlib.h146 UINT_32 bpp, INT_32 index, INT_32 macroModeIndex,
239 virtual INT_32 HwlPostCheckTileIndex(
283 UINT_32 bpp, TileConfig tileConfig, INT_32 tileIndex, UINT_32 elementBytesLog2) const;
Dsiaddrlib.cpp802 Max(1, static_cast<INT_32>(numPipes / 2) - 1) * (slice / microTileThickness); in ComputePipeFromCoord()
2914 INT_32 SiLib::HwlPostCheckTileIndex( in HwlPostCheckTileIndex()
2921 INT_32 index = curIndex; in HwlPostCheckTileIndex()
2939 for (index = 0; index < static_cast<INT_32>(m_noOfEntries); index++) in HwlPostCheckTileIndex()
2972 ADDR_ASSERT(index < static_cast<INT_32>(m_noOfEntries)); in HwlPostCheckTileIndex()
2974 if (index >= static_cast<INT_32>(m_noOfEntries)) in HwlPostCheckTileIndex()
2994 INT_32 index, ///< Tile index in HwlSetupTileCfg()
2995 INT_32 macroModeIndex, ///< Index in macro tile mode table(CI) in HwlSetupTileCfg()
3631 for (INT_32 tileIndex = 0; tileIndex < static_cast<INT_32>(m_noOfEntries); tileIndex++) in InitEquationTable()
3827 INT_32 tileIndex, ///< Tile index in IsEquationSupported()
Degbaddrlib.h210 virtual INT_32 HwlPostCheckTileIndex(
/external/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h569 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it
619 INT_32 tileIndex; ///< Tile index, MAY be "downgraded"
621 INT_32 macroModeIndex; ///< Index in macro tile mode table if there is one (CI)
645 INT_32 stencilTileIdx; ///< stencil tile index output when matchStencilTileCfg was set
707 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it
795 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it
886 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it
888 INT_32 macroModeIndex; ///< Index in macro tile mode table if there is one (CI)
960 INT_32 tileIndex; ///< Tile index, MUST be -1 if you don't want to use it
962 INT_32 macroModeIndex; ///< Index in macro tile mode table if there is one (CI)
[all …]
Daddrtypes.h635 #ifndef INT_32
636 #define INT_32 int macro
740 INT_32 i;
/external/mesa3d/src/amd/addrlib/src/core/
Dcoord.h51 Coordinate(enum Dim dim, INT_32 n);
53 VOID set(enum Dim dim, INT_32 n);
64 Coordinate& operator++(INT_32);
113 VOID shift(INT_32 amount, INT_32 start = 0);
Daddrcommon.h217 static const INT_32 TileIndexInvalid = TILEINDEX_INVALID;
218 static const INT_32 TileIndexLinearGeneral = TILEINDEX_LINEAR_GENERAL;
219 static const INT_32 TileIndexNoMacroIndex = -3;
417 static inline INT_32 Min( in Min()
418 INT_32 value1, in Min()
419 INT_32 value2) in Min()
447 static inline INT_32 Max( in Max()
448 INT_32 value1, in Max()
449 INT_32 value2) in Max()
Dcoord.cpp43 Coordinate::Coordinate(enum Dim dim, INT_32 n) in Coordinate()
48 VOID Coordinate::set(enum Dim d, INT_32 n) in set()
129 Coordinate& Coordinate::operator++(INT_32) in operator ++() argument
516 VOID CoordEq::shift(INT_32 amount, INT_32 start) in shift()
520 INT_32 numBits = static_cast<INT_32>(m_numBits); in shift()
522 INT_32 inc = (amount < 0) ? -1 : 1; in shift()
523 INT_32 i = (amount < 0) ? numBits - 1 : start; in shift()
524 INT_32 end = (amount < 0) ? start - 1 : numBits; in shift()
Daddrlib1.h91 BOOL_32 UseTileIndex(INT_32 index) const in UseTileIndex()
475 UINT_32 bpp, INT_32 index, INT_32 macroModeIndex,
479 virtual INT_32 HwlComputeMacroModeIndex(
480 INT_32 index, ADDR_SURFACE_FLAGS flags, UINT_32 bpp, UINT_32 numSamples,
Daddrelemlib.cpp202 *pResult = static_cast<INT_32>(f + (round/256.0f)); in Flt32sToInt32s()
215 static_cast<INT_32>((mant24 & mask) > half); in Flt32sToInt32s()
241 rounded = static_cast<INT_32>((round + truncated) >> 8); in Flt32sToInt32s()
244 *pResult = static_cast<INT_32>(rounded); //(INT_32)final; in Flt32sToInt32s()
1692 INT_32 i; in SetClearComps()
Daddrlib1.cpp304 INT_32 macroModeIndex = TileIndexNoMacroIndex; in ComputeSurfaceInfo()
478 INT_32 macroModeIndex = HwlComputeMacroModeIndex(input.tileIndex, in ComputeSurfaceAddrFromCoord()
558 INT_32 macroModeIndex = HwlComputeMacroModeIndex(input.tileIndex, in ComputeSurfaceCoordFromAddr()
865 INT_32 macroModeIndex = HwlComputeMacroModeIndex(pIn->tileIndex, in ComputeFmaskInfo()
3878 INT_32 index, ///< [in] Tile index in HwlSetupTileCfg()
3879 INT_32 macroModeIndex, ///< [in] Index in macro tile mode table(CI) in HwlSetupTileCfg()
/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp197 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >=0; i--) in HwlComputeHtileInfo()
308 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >= 0; i--) in HwlComputeCmaskInfo()
440 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >= 0; i--) in HwlComputeDccInfo()
1083 INT_32 Gfx10Lib::GetMetaOverlapLog2( in GetMetaOverlapLog2()
1097 const INT_32 compSizeLog2 = compBlock.w + compBlock.h + compBlock.d; in GetMetaOverlapLog2()
1098 const INT_32 blk256SizeLog2 = microBlock.w + microBlock.h + microBlock.d; in GetMetaOverlapLog2()
1099 const INT_32 maxSizeLog2 = Max(compSizeLog2, blk256SizeLog2); in GetMetaOverlapLog2()
1100 const INT_32 numPipesLog2 = GetEffectiveNumPipes(); in GetMetaOverlapLog2()
1101 INT_32 overlap = numPipesLog2 - maxSizeLog2; in GetMetaOverlapLog2()
1128 INT_32 Gfx10Lib::Get3DMetaOverlapLog2( in Get3DMetaOverlapLog2()
[all …]
Dgfx10addrlib.h424 static INT_32 GetMetaElementSizeLog2(Gfx10DataType dataType);
426 static INT_32 GetMetaCacheSizeLog2(Gfx10DataType dataType);
443 INT_32 GetMetaOverlapLog2(
450 INT_32 Get3DMetaOverlapLog2(
464 INT_32 GetPipeRotateAmount(
468 INT_32 GetEffectiveNumPipes() const in GetEffectiveNumPipes()
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp240 const INT_32 metaBlkSizeLog2 = numCompressBlkPerMetaBlkLog2 + 2; in HwlComputeHtileInfo()
241 const INT_32 htileCachelineSizeLog2 = 11; in HwlComputeHtileInfo()
242 const INT_32 maxNumOfRbMaskBits = 1 + Log2(numPipeTotal) + Log2(numRbTotal); in HwlComputeHtileInfo()
244INT_32 rbMaskPadding = Max(0, htileCachelineSizeLog2 - (metaBlkSizeLog2 - maxNumOfRbMaskBits)); in HwlComputeHtileInfo()
1599 INT_32 shift = static_cast<INT_32>(numSamplesLog2); in GetPipeEquation()
1797 INT_32 shift = static_cast<INT_32>(numPipeTotalLog2); in GenMetaEquation()
1819 UINT_32 maxCompFragLog2 = static_cast<INT_32>(m_maxCompFragLog2); in GenMetaEquation()