Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.cpp368 (localIn.mipId >= localIn.numMipLevels) || in ComputeSurfaceAddrFromCoord()
370 (Valid3DMipSliceIdConstraint(localIn.numSlices, localIn.mipId, localIn.slice) == FALSE))) in ComputeSurfaceAddrFromCoord()
1202 mipInfo[pIn->mipId].offset + in ComputeSurfaceAddrFromCoordLinear()
1203 (pIn->y * mipInfo[pIn->mipId].pitch + pIn->x) * (pIn->bpp >> 3); in ComputeSurfaceAddrFromCoordLinear()
1293 UINT_32 mipId = 0; in ComputeSurfaceCoordFromAddrLinear() local
1294 for (; mipId < pIn->numMipLevels ; mipId++) in ComputeSurfaceCoordFromAddrLinear()
1302 UINT_32 currentMipHeight = (PowTwoAlign(localIn.height, (1 << mipId))) >> mipId; in ComputeSurfaceCoordFromAddrLinear()
1318 if ((mipId == (pIn->numMipLevels - 1)) || in ComputeSurfaceCoordFromAddrLinear()
1328 pOut->mipId = mipId; in ComputeSurfaceCoordFromAddrLinear()
1350 (pOut->mipId >= pIn->numMipLevels) || in ComputeSurfaceCoordFromAddrLinear()
[all …]
Daddrlib2.h814 UINT_32 mipId, in Valid3DMipSliceIdConstraint() argument
817 return (Max((numSlices >> mipId), 1u) > slice); in Valid3DMipSliceIdConstraint()
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp531 (pIn->mipId > 0)) in HwlSupportComputeDccAddrFromCoord()
1986 subOffIn.macroBlockOffset = mipInfo[pIn->mipId].macroBlockOffset; in HwlComputeNonBlockCompressedView()
1987 subOffIn.mipTailOffset = mipInfo[pIn->mipId].mipTailOffset; in HwlComputeNonBlockCompressedView()
2008 … const BOOL_32 inTail = tiled && (pIn->mipId >= infoOut.firstMipIdInTail) ? TRUE : FALSE; in HwlComputeNonBlockCompressedView()
2009 …const UINT_32 requestMipWidth = PowTwoAlign(Max(pIn->width >> pIn->mipId, 1u), bcWidth) / bcWidth; in HwlComputeNonBlockCompressedView()
2010 …const UINT_32 requestMipHeight = PowTwoAlign(Max(pIn->height >> pIn->mipId, 1u), bcHeight) / bcHei… in HwlComputeNonBlockCompressedView()
2019 pOut->mipId = pIn->mipId - infoOut.firstMipIdInTail; in HwlComputeNonBlockCompressedView()
2025 pOut->unalignedWidth = Min(requestMipWidth << pOut->mipId, infoOut.blockWidth / 2); in HwlComputeNonBlockCompressedView()
2028 pOut->unalignedHeight = Min(requestMipHeight << pOut->mipId, infoOut.blockHeight); in HwlComputeNonBlockCompressedView()
2031 else if (requestMipWidth << pIn->mipId == infoIn.width) in HwlComputeNonBlockCompressedView()
[all …]
Dgfx11addrlib.h355 UINT_32 mipId,
360 *pMipWidth = ShiftCeil(Max(mip0Width, 1u), mipId);
361 *pMipHeight = ShiftCeil(Max(mip0Height, 1u), mipId);
365 *pMipDepth = ShiftCeil(Max(mip0Depth, 1u), mipId);
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp745 (pIn->mipId > 0)) in HwlSupportComputeDccAddrFromCoord()
2382 subOffIn.macroBlockOffset = mipInfo[pIn->mipId].macroBlockOffset; in HwlComputeNonBlockCompressedView()
2383 subOffIn.mipTailOffset = mipInfo[pIn->mipId].mipTailOffset; in HwlComputeNonBlockCompressedView()
2404 … const BOOL_32 inTail = tiled && (pIn->mipId >= infoOut.firstMipIdInTail) ? TRUE : FALSE; in HwlComputeNonBlockCompressedView()
2405 … const UINT_32 requestMipWidth = RoundUpQuotient(Max(pIn->width >> pIn->mipId, 1u), bcWidth); in HwlComputeNonBlockCompressedView()
2406 … const UINT_32 requestMipHeight = RoundUpQuotient(Max(pIn->height >> pIn->mipId, 1u), bcHeight); in HwlComputeNonBlockCompressedView()
2415 pOut->mipId = pIn->mipId - infoOut.firstMipIdInTail; in HwlComputeNonBlockCompressedView()
2421 pOut->unalignedWidth = Min(requestMipWidth << pOut->mipId, infoOut.blockWidth / 2); in HwlComputeNonBlockCompressedView()
2424 pOut->unalignedHeight = Min(requestMipHeight << pOut->mipId, infoOut.blockHeight); in HwlComputeNonBlockCompressedView()
2427 else if (requestMipWidth << pIn->mipId == infoIn.width) in HwlComputeNonBlockCompressedView()
[all …]
Dgfx10addrlib.h380 UINT_32 mipId,
385 *pMipWidth = ShiftCeil(Max(mip0Width, 1u), mipId);
386 *pMipHeight = ShiftCeil(Max(mip0Height, 1u), mipId);
390 *pMipDepth = ShiftCeil(Max(mip0Depth, 1u), mipId);
/third_party/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h2560 UINT_32 mipId; ///< the mip ID in mip chain member
2661 UINT_32 mipId; ///< mipmap level id member
2823 UINT_32 mipId; ///< mipmap level id member
2908 UINT_32 mipId; ///< mipmap level id member
3133 UINT_32 mipId; ///< mipmap level id member
3482 UINT_32 mipId; ///< mipmap level id member
3702 UINT_32 mipId; ///< Id of mip to view member
3721 UINT_32 mipId; ///< Mip ID for the view member
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp1074 if ((pIn->numMipLevels > 1) || (pIn->mipId > 1) || pIn->dccKeyFlags.linear) in HwlSupportComputeDccAddrFromCoord()
1118 MetaEqParams metaEqParams = {pIn->mipId, elementBytesLog2, numSamplesLog2, pIn->dccKeyFlags, in HwlComputeDccAddrFromCoord()
4439 for (UINT_32 mipId = 0; mipId < numMipLevel; mipId++) in GetMipChainInfo() local
4483 firstMipIdInTail = mipId; in GetMipChainInfo()
4506 pMipInfo[mipId].pitch = mipPitch; in GetMipChainInfo()
4507 pMipInfo[mipId].height = mipHeight; in GetMipChainInfo()
4508 pMipInfo[mipId].depth = mipDepth; in GetMipChainInfo()
4509 pMipInfo[mipId].offset = offset; in GetMipChainInfo()
4720 UINT_32 mipId, in GetMipStartPos() argument
4730 UINT_32 mipIndexInTail = mipId; in GetMipStartPos()
[all …]
Dgfx9addrlib.h567 UINT_32 mipId,
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c257 in.mipId = 0; in one_dcc_address_test()