Lines Matching refs:pIn
208 const ADDR_COMPUTE_DCCINFO_INPUT* pIn, in HwlComputeDccInfo() argument
213 if (m_settings.isVolcanicIslands && IsMacroTiled(pIn->tileMode)) in HwlComputeDccInfo()
215 UINT_64 dccFastClearSize = pIn->colorSurfSize >> 8; in HwlComputeDccInfo()
217 ADDR_ASSERT(0 == (pIn->colorSurfSize & 0xff)); in HwlComputeDccInfo()
219 if (pIn->numSamples > 1) in HwlComputeDccInfo()
221 UINT_32 tileSizePerSample = BITS_TO_BYTES(pIn->bpp * MicroTileWidth * MicroTileHeight); in HwlComputeDccInfo()
222 UINT_32 samplesPerSplit = pIn->tileInfo.tileSplitBytes / tileSizePerSample; in HwlComputeDccInfo()
224 if (samplesPerSplit < pIn->numSamples) in HwlComputeDccInfo()
226 UINT_32 numSplits = pIn->numSamples / samplesPerSplit; in HwlComputeDccInfo()
227 UINT_32 fastClearBaseAlign = HwlGetPipes(&pIn->tileInfo) * m_pipeInterleaveBytes; in HwlComputeDccInfo()
242 pOut->dccRamSize = pIn->colorSurfSize >> 8; in HwlComputeDccInfo()
243 pOut->dccRamBaseAlign = pIn->tileInfo.banks * in HwlComputeDccInfo()
244 HwlGetPipes(&pIn->tileInfo) * in HwlComputeDccInfo()
257 UINT_64 dccRamSizeAlign = HwlGetPipes(&pIn->tileInfo) * m_pipeInterleaveBytes; in HwlComputeDccInfo()
291 const ADDR_COMPUTE_CMASK_ADDRFROMCOORD_INPUT* pIn, ///< [in] fmask addr/bpp/tile input in HwlComputeCmaskAddrFromCoord() argument
298 (pIn->flags.tcCompatible == TRUE)) in HwlComputeCmaskAddrFromCoord()
300 UINT_32 numOfPipes = HwlGetPipes(pIn->pTileInfo); in HwlComputeCmaskAddrFromCoord()
301 UINT_32 numOfBanks = pIn->pTileInfo->banks; in HwlComputeCmaskAddrFromCoord()
302 UINT_64 fmaskAddress = pIn->fmaskAddr; in HwlComputeCmaskAddrFromCoord()
303 UINT_32 elemBits = pIn->bpp; in HwlComputeCmaskAddrFromCoord()
335 const ADDR_COMPUTE_HTILE_ADDRFROMCOORD_INPUT* pIn, ///< [in] depth/stencil addr/bpp/tile input in HwlComputeHtileAddrFromCoord() argument
342 (pIn->flags.tcCompatible == TRUE)) in HwlComputeHtileAddrFromCoord()
344 UINT_32 numOfPipes = HwlGetPipes(pIn->pTileInfo); in HwlComputeHtileAddrFromCoord()
345 UINT_32 numOfBanks = pIn->pTileInfo->banks; in HwlComputeHtileAddrFromCoord()
346 UINT_64 zStencilAddr = pIn->zStencilAddr; in HwlComputeHtileAddrFromCoord()
347 UINT_32 elemBits = pIn->bpp; in HwlComputeHtileAddrFromCoord()
692 const ADDR_COMPUTE_SURFACE_INFO_INPUT* pIn, ///< [in] input structure in HwlComputeSurfaceInfo() argument
697 if (pIn->tileIndex == TileIndexInvalid) in HwlComputeSurfaceInfo()
702 ADDR_E_RETURNCODE retCode = SiLib::HwlComputeSurfaceInfo(pIn, pOut); in HwlComputeSurfaceInfo()
704 if ((pIn->mipLevel > 0) && in HwlComputeSurfaceInfo()
706 (pOut->tileMode != pIn->tileMode) && in HwlComputeSurfaceInfo()
709 …pOut->tcCompatible = CheckTcCompatibility(pOut->pTileInfo, pIn->bpp, pOut->tileMode, pOut->tileTyp… in HwlComputeSurfaceInfo()
717 if ((pIn->flags.matchStencilTileCfg == TRUE) && in HwlComputeSurfaceInfo()
718 (pIn->flags.depth == TRUE)) in HwlComputeSurfaceInfo()
725 BOOL_32 depthStencil2DTileConfigMatch = DepthStencilTileCfgMatch(pIn, pOut); in HwlComputeSurfaceInfo()
732 ADDR_COMPUTE_SURFACE_INFO_INPUT localIn = *pIn; in HwlComputeSurfaceInfo()
741 depthStencil2DTileConfigMatch = DepthStencilTileCfgMatch(pIn, pOut); in HwlComputeSurfaceInfo()
745 (pIn->numSamples <= 1)) in HwlComputeSurfaceInfo()
749 ADDR_COMPUTE_SURFACE_INFO_INPUT localIn = *pIn; in HwlComputeSurfaceInfo()
777 const ADDR_COMPUTE_FMASK_INFO_INPUT* pIn, ///< [in] input structure in HwlComputeFmaskInfo() argument
785 fmaskIn = *pIn; in HwlComputeFmaskInfo()
787 AddrTileMode tileMode = pIn->tileMode; in HwlComputeFmaskInfo()
811 UINT_32 numSamples = pIn->numSamples; in HwlComputeFmaskInfo()
812 UINT_32 numFrags = pIn->numFrags == 0 ? numSamples : pIn->numFrags; in HwlComputeFmaskInfo()
841 HwlPostCheckTileIndex(pOut->pTileInfo, pIn->tileMode, ADDR_NON_DISPLAYABLE, in HwlComputeFmaskInfo()
2210 const ADDR_COMPUTE_SURFACE_INFO_INPUT* pIn, ///< [in] input structure in DepthStencilTileCfgMatch() argument
2222 pIn->flags, in DepthStencilTileCfgMatch()
2224 pIn->numSamples, in DepthStencilTileCfgMatch()
2241 (tileInfo.tileSplitBytes >= MicroTileWidth * MicroTileHeight * pIn->numSamples)) in DepthStencilTileCfgMatch()