Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/r800/
Dsiaddrlib.cpp197 UINT_32 tx = x / MicroTileWidth; in ComputePipeFromCoord()
746 macroWidth = 8*MicroTileWidth; in HwlComputeTileDataWidthAndHeightLinear()
751 macroWidth = 4*MicroTileWidth; in HwlComputeTileDataWidthAndHeightLinear()
808 UINT_32 tx = x / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
863 const UINT_32 pitchInTile = newPitch / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
864 const UINT_32 heightInTile = newHeight / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
897 const UINT_32 macroWidthInTile = macroWidth / MicroTileWidth; // Now in unit of Tiles in HwlComputeXmaskAddrFromCoord()
907 microX = (x % macroWidth) / MicroTileWidth / 4; // Macro Tile is 4x4 in HwlComputeXmaskAddrFromCoord()
909 …microNumber = static_cast<UINT_64>(microX + microY * (macroWidth / MicroTileWidth / 4)) << microSh… in HwlComputeXmaskAddrFromCoord()
1020 const UINT_32 pitchInTile = newPitch / MicroTileWidth; in HwlComputeXmaskCoordFromAddr()
[all …]
Degbaddrlib.cpp867 macroTileWidth = MicroTileWidth * pTileInfo->bankWidth * pipes * in ComputeSurfaceAlignmentsMacroTiled()
1572 (MicroTileWidth * pTileInfo->bankWidth * numPipes) * pTileInfo->macroAspectRatio; in ComputeSurfaceAddrFromCoordMacroTiled()
1581 (macroTilePitch / MicroTileWidth) * (macroTileHeight / MicroTileHeight) / in ComputeSurfaceAddrFromCoordMacroTiled()
1615 tileColumnIndex = ((x / MicroTileWidth) / numPipes) % pTileInfo->bankWidth; in ComputeSurfaceAddrFromCoordMacroTiled()
1739 microTilesPerRow = pitch / MicroTileWidth; in ComputeSurfaceAddrFromCoordMicroTiled()
1744 microTileIndexX = x / MicroTileWidth; in ComputeSurfaceAddrFromCoordMicroTiled()
2233 UINT_32 pitchInMacroTiles = pitch / MicroTileWidth / macroWidth; in ComputeSurfaceCoordFromAddrMacroTiled()
2240 UINT_32 macroTilesPerSlice = (pitch / (macroWidth * MicroTileWidth)) * height / in ComputeSurfaceCoordFromAddrMacroTiled()
2241 (macroHeight * MicroTileWidth); in ComputeSurfaceCoordFromAddrMacroTiled()
2272 *pX += static_cast<UINT_32>(macroTileIndex % pitchInMacroTiles * macroWidth * MicroTileWidth); in ComputeSurfaceCoordFromAddrMacroTiled()
[all …]
Dciaddrlib.cpp224 UINT_32 tileSizePerSample = BITS_TO_BYTES(pIn->bpp * MicroTileWidth * MicroTileHeight); in HwlComputeDccInfo()
1592 *pMacroWidth = numTiles * MicroTileWidth; in HwlComputeTileDataWidthAndHeightLinear()
1781 UINT_32 tileSizePerSample = BITS_TO_BYTES(bpp * MicroTileWidth * MicroTileHeight); in HwlPadDimensions()
/external/mesa3d/src/amd/addrlib/core/
Daddrcommon.h52 static const UINT_32 MicroTileWidth = 8; ///< Micro tile width, for 1D and 2D tiling variable
61 static const UINT_32 MicroTilePixels = MicroTileWidth * MicroTileHeight;
Daddrlib.cpp2451 microX = microNumber % (macroTilePitch / factor / MicroTileWidth); in HwlComputeXmaskCoordFromAddr()
2454 *pX = macroX * (macroTilePitch/factor) + microX * MicroTileWidth; in HwlComputeXmaskCoordFromAddr()
2459 *pX/MicroTileWidth); in HwlComputeXmaskCoordFromAddr()
2623 pixelBytesPerRow = BITS_TO_BYTES(macroTileWidth * elemBits) / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
2631 pixelOffsetX = (x % (macroTileWidth / 2)) / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
2635 pixelOffsetX = (x % (macroTileWidth)) / MicroTileWidth * BITS_TO_BYTES(elemBits); in HwlComputeXmaskAddrFromCoord()
2820 rowBits = (pitch / MicroTileWidth) * microTileBits; in ComputeSurfaceCoordFromAddrMicroTiled()
2837 microTileCoordX = static_cast<UINT_32>(bitAddr / microTileBits) * MicroTileWidth; in ComputeSurfaceCoordFromAddrMicroTiled()