Home
last modified time | relevance | path

Searched refs:widthAmp (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.cpp1400 UINT_32 widthAmp = log2blkSizeIn256B / 2; in ComputeBlockDimension() local
1401 UINT_32 heightAmp = log2blkSizeIn256B - widthAmp; in ComputeBlockDimension()
1405 *pWidth = (Block256_2d[microBlockSizeTableIndex].w << widthAmp); in ComputeBlockDimension()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp194 UINT_32 widthAmp = (pIn->numMipLevels > 1) ? (totalAmpBits >> 1) : RoundHalf(totalAmpBits); in HwlComputeHtileInfo() local
195 UINT_32 heightAmp = totalAmpBits - widthAmp; in HwlComputeHtileInfo()
196 metaBlkDim.w <<= widthAmp; in HwlComputeHtileInfo()
310 UINT_32 widthAmp = totalAmpBits - heightAmp; in HwlComputeCmaskInfo() local
311 metaBlkDim.w <<= widthAmp; in HwlComputeCmaskInfo()