Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.cpp341 (localIn.mipId >= localIn.numMipLevels) || in ComputeSurfaceAddrFromCoord()
343 (Valid3DMipSliceIdConstraint(localIn.numSlices, localIn.mipId, localIn.slice) == FALSE))) in ComputeSurfaceAddrFromCoord()
1126 mipInfo[pIn->mipId].offset + in ComputeSurfaceAddrFromCoordLinear()
1127 (pIn->y * mipInfo[pIn->mipId].pitch + pIn->x) * (pIn->bpp >> 3); in ComputeSurfaceAddrFromCoordLinear()
1217 UINT_32 mipId = 0; in ComputeSurfaceCoordFromAddrLinear() local
1218 for (; mipId < pIn->numMipLevels ; mipId++) in ComputeSurfaceCoordFromAddrLinear()
1226 UINT_32 currentMipHeight = (PowTwoAlign(localIn.height, (1 << mipId))) >> mipId; in ComputeSurfaceCoordFromAddrLinear()
1242 if ((mipId == (pIn->numMipLevels - 1)) || in ComputeSurfaceCoordFromAddrLinear()
1252 pOut->mipId = mipId; in ComputeSurfaceCoordFromAddrLinear()
1274 (pOut->mipId >= pIn->numMipLevels) || in ComputeSurfaceCoordFromAddrLinear()
[all …]
Daddrlib2.h644 UINT_32 mipId, in Valid3DMipSliceIdConstraint() argument
647 return (Max((numSlices >> mipId), 1u) > slice); in Valid3DMipSliceIdConstraint()
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h2530 UINT_32 mipId; ///< the mip ID in mip chain member
2631 UINT_32 mipId; ///< mipmap level id member
2783 UINT_32 mipId; ///< mipmap level id member
2868 UINT_32 mipId; ///< mipmap level id member
3058 UINT_32 mipId; ///< mipmap level id member
3383 UINT_32 mipId; ///< mipmap level id member
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp916 if ((pIn->numMipLevels > 1) || (pIn->mipId > 1) || pIn->dccKeyFlags.linear) in HwlComputeDccAddrFromCoord()
951 …const CoordEq* pMetaEq = GetMetaEquation({pIn->mipId, elementBytesLog2, numSamplesLog2, pIn->dccKe… in HwlComputeDccAddrFromCoord()
4178 for (UINT_32 mipId = 0; mipId < numMipLevel; mipId++) in GetMipChainInfo() local
4222 firstMipIdInTail = mipId; in GetMipChainInfo()
4245 pMipInfo[mipId].pitch = mipPitch; in GetMipChainInfo()
4246 pMipInfo[mipId].height = mipHeight; in GetMipChainInfo()
4247 pMipInfo[mipId].depth = mipDepth; in GetMipChainInfo()
4248 pMipInfo[mipId].offset = offset; in GetMipChainInfo()
4459 UINT_32 mipId, in GetMipStartPos() argument
4469 UINT_32 mipIndexInTail = mipId; in GetMipStartPos()
[all …]
Dgfx9addrlib.h310 UINT_32 mipId,