Home
last modified time | relevance | path

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

/third_party/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.h649 #ifndef INT_32
650 #define INT_32 int macro
754 INT_32 i;
/third_party/mesa3d/src/amd/addrlib/src/r800/
Dciaddrlib.h82 UINT_32 bpp, INT_32 index, INT_32 macroModeIndex, ADDR_TILEINFO* pInfo,
89 virtual INT_32 HwlComputeMacroModeIndex(
90 INT_32 tileIndex, ADDR_SURFACE_FLAGS flags, UINT_32 bpp, UINT_32 numSamples,
101 virtual INT_32 HwlPostCheckTileIndex(
197 static const INT_32 MinDepth2DThinIndex = 0;
198 static const INT_32 MaxDepth2DThinIndex = 4;
199 static const INT_32 Depth1DThinIndex = 5;
Dciaddrlib.cpp505 INT_32 CiLib::HwlPostCheckTileIndex( in HwlPostCheckTileIndex()
512 INT_32 index = curIndex; in HwlPostCheckTileIndex()
530 for (index = 0; index < static_cast<INT_32>(m_noOfEntries); index++) in HwlPostCheckTileIndex()
575 ADDR_ASSERT(index < static_cast<INT_32>(m_noOfEntries)); in HwlPostCheckTileIndex()
577 if (index >= static_cast<INT_32>(m_noOfEntries)) in HwlPostCheckTileIndex()
597 INT_32 index, ///< Tile index in HwlSetupTileCfg()
598 INT_32 macroModeIndex, ///< Index in macro tile mode table(CI) in HwlSetupTileCfg()
808 INT_32 tileIndex = tileMode == ADDR_TM_2D_TILED_THIN1 ? 14 : 15; in HwlComputeFmaskInfo()
812 INT_32 macroModeIndex = TileIndexInvalid; in HwlComputeFmaskInfo()
1479 ADDR_ASSERT((index + 1) < static_cast<INT_32>(m_noOfEntries)); in HwlSetupTileInfo()
[all …]
Dsiaddrlib.h145 UINT_32 bpp, INT_32 index, INT_32 macroModeIndex,
238 virtual INT_32 HwlPostCheckTileIndex(
282 UINT_32 bpp, TileConfig tileConfig, INT_32 tileIndex, UINT_32 elementBytesLog2) const;
Dsiaddrlib.cpp801 Max(1, static_cast<INT_32>(numPipes / 2) - 1) * (slice / microTileThickness); in ComputePipeFromCoord()
2913 INT_32 SiLib::HwlPostCheckTileIndex( in HwlPostCheckTileIndex()
2920 INT_32 index = curIndex; in HwlPostCheckTileIndex()
2938 for (index = 0; index < static_cast<INT_32>(m_noOfEntries); index++) in HwlPostCheckTileIndex()
2971 ADDR_ASSERT(index < static_cast<INT_32>(m_noOfEntries)); in HwlPostCheckTileIndex()
2973 if (index >= static_cast<INT_32>(m_noOfEntries)) in HwlPostCheckTileIndex()
2993 INT_32 index, ///< Tile index in HwlSetupTileCfg()
2994 INT_32 macroModeIndex, ///< Index in macro tile mode table(CI) in HwlSetupTileCfg()
3630 for (INT_32 tileIndex = 0; tileIndex < static_cast<INT_32>(m_noOfEntries); tileIndex++) in InitEquationTable()
3826 INT_32 tileIndex, ///< Tile index in IsEquationSupported()
Degbaddrlib.h209 virtual INT_32 HwlPostCheckTileIndex(
/third_party/mesa3d/src/amd/addrlib/src/core/
Dcoord.h65 Coordinate(enum Dim dim, INT_32 n);
67 VOID set(enum Dim dim, INT_32 n);
78 Coordinate& operator++(INT_32);
127 VOID shift(INT_32 amount, INT_32 start = 0);
Daddrcommon.h213 static const INT_32 TileIndexInvalid = TILEINDEX_INVALID;
214 static const INT_32 TileIndexLinearGeneral = TILEINDEX_LINEAR_GENERAL;
215 static const INT_32 TileIndexNoMacroIndex = -3;
413 static inline INT_32 Min( in Min()
414 INT_32 value1, in Min()
415 INT_32 value2) in Min()
443 static inline INT_32 Max( in Max()
444 INT_32 value1, in Max()
445 INT_32 value2) in Max()
Dcoord.cpp42 Coordinate::Coordinate(enum Dim dim, INT_32 n) in Coordinate()
47 VOID Coordinate::set(enum Dim d, INT_32 n) in set()
128 Coordinate& Coordinate::operator++(INT_32) in operator ++() argument
515 VOID CoordEq::shift(INT_32 amount, INT_32 start) in shift()
519 INT_32 numBits = static_cast<INT_32>(m_numBits); in shift()
521 INT_32 inc = (amount < 0) ? -1 : 1; in shift()
522 INT_32 i = (amount < 0) ? numBits - 1 : start; in shift()
523 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.cpp201 *pResult = static_cast<INT_32>(f + (round/256.0f)); in Flt32sToInt32s()
214 static_cast<INT_32>((mant24 & mask) > half); in Flt32sToInt32s()
240 rounded = static_cast<INT_32>((round + truncated) >> 8); in Flt32sToInt32s()
243 *pResult = static_cast<INT_32>(rounded); //(INT_32)final; in Flt32sToInt32s()
1691 INT_32 i; in SetClearComps()
Daddrlib1.cpp303 INT_32 macroModeIndex = TileIndexNoMacroIndex; in ComputeSurfaceInfo()
477 INT_32 macroModeIndex = HwlComputeMacroModeIndex(input.tileIndex, in ComputeSurfaceAddrFromCoord()
557 INT_32 macroModeIndex = HwlComputeMacroModeIndex(input.tileIndex, in ComputeSurfaceCoordFromAddr()
864 INT_32 macroModeIndex = HwlComputeMacroModeIndex(pIn->tileIndex, in ComputeFmaskInfo()
3877 INT_32 index, ///< [in] Tile index in HwlSetupTileCfg()
3878 INT_32 macroModeIndex, ///< [in] Index in macro tile mode table(CI) in HwlSetupTileCfg()
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp197 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >=0; i--) in HwlComputeHtileInfo()
328 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >= 0; i--) in HwlComputeDccInfo()
858 INT_32 Gfx11Lib::GetMetaOverlapLog2( in GetMetaOverlapLog2()
872 const INT_32 compSizeLog2 = compBlock.w + compBlock.h + compBlock.d; in GetMetaOverlapLog2()
873 const INT_32 blk256SizeLog2 = microBlock.w + microBlock.h + microBlock.d; in GetMetaOverlapLog2()
874 const INT_32 maxSizeLog2 = Max(compSizeLog2, blk256SizeLog2); in GetMetaOverlapLog2()
875 const INT_32 numPipesLog2 = GetEffectiveNumPipes(); in GetMetaOverlapLog2()
876 INT_32 overlap = numPipesLog2 - maxSizeLog2; in GetMetaOverlapLog2()
903 INT_32 Gfx11Lib::Get3DMetaOverlapLog2( in Get3DMetaOverlapLog2()
912 INT_32 overlap = GetEffectiveNumPipes() - static_cast<INT_32>(microBlock.w); in Get3DMetaOverlapLog2()
[all …]
Dgfx11addrlib.h403 static INT_32 GetMetaElementSizeLog2(Gfx11DataType dataType);
405 static INT_32 GetMetaCacheSizeLog2(Gfx11DataType dataType);
422 INT_32 GetMetaOverlapLog2(
429 INT_32 Get3DMetaOverlapLog2(
443 INT_32 GetPipeRotateAmount(
447 INT_32 GetEffectiveNumPipes() const in GetEffectiveNumPipes()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp196 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >=0; i--) in HwlComputeHtileInfo()
315 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >= 0; i--) in HwlComputeCmaskInfo()
459 for (INT_32 i = static_cast<INT_32>(pIn->firstMipIdInTail) - 1; i >= 0; i--) in HwlComputeDccInfo()
1202 INT_32 Gfx10Lib::GetMetaOverlapLog2( in GetMetaOverlapLog2()
1216 const INT_32 compSizeLog2 = compBlock.w + compBlock.h + compBlock.d; in GetMetaOverlapLog2()
1217 const INT_32 blk256SizeLog2 = microBlock.w + microBlock.h + microBlock.d; in GetMetaOverlapLog2()
1218 const INT_32 maxSizeLog2 = Max(compSizeLog2, blk256SizeLog2); in GetMetaOverlapLog2()
1219 const INT_32 numPipesLog2 = GetEffectiveNumPipes(); in GetMetaOverlapLog2()
1220 INT_32 overlap = numPipesLog2 - maxSizeLog2; in GetMetaOverlapLog2()
1247 INT_32 Gfx10Lib::Get3DMetaOverlapLog2( in Get3DMetaOverlapLog2()
[all …]
Dgfx10addrlib.h434 static INT_32 GetMetaElementSizeLog2(Gfx10DataType dataType);
436 static INT_32 GetMetaCacheSizeLog2(Gfx10DataType dataType);
453 INT_32 GetMetaOverlapLog2(
460 INT_32 Get3DMetaOverlapLog2(
474 INT_32 GetPipeRotateAmount(
478 INT_32 GetEffectiveNumPipes() const in GetEffectiveNumPipes()
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp239 const INT_32 metaBlkSizeLog2 = numCompressBlkPerMetaBlkLog2 + 2; in HwlComputeHtileInfo()
240 const INT_32 htileCachelineSizeLog2 = 11; in HwlComputeHtileInfo()
241 const INT_32 maxNumOfRbMaskBits = 1 + Log2(numPipeTotal) + Log2(numRbTotal); in HwlComputeHtileInfo()
243INT_32 rbMaskPadding = Max(0, htileCachelineSizeLog2 - (metaBlkSizeLog2 - maxNumOfRbMaskBits)); in HwlComputeHtileInfo()
1717 INT_32 shift = static_cast<INT_32>(numSamplesLog2); in GetPipeEquation()
1915 INT_32 shift = static_cast<INT_32>(numPipeTotalLog2); in GenMetaEquation()
1937 UINT_32 maxCompFragLog2 = static_cast<INT_32>(m_maxCompFragLog2); in GenMetaEquation()