Lines Matching refs:metaBlkDim
192 Dim3d metaBlkDim = {8, 8, 1}; in HwlComputeHtileInfo() local
196 metaBlkDim.w <<= widthAmp; in HwlComputeHtileInfo()
197 metaBlkDim.h <<= heightAmp; in HwlComputeHtileInfo()
213 ADDR_ASSERT((metaBlkDimDbg.w == metaBlkDim.w) && (metaBlkDimDbg.h == metaBlkDim.h)); in HwlComputeHtileInfo()
220 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, FALSE, pOut->pMipInfo, in HwlComputeHtileInfo()
231 pOut->pitch = numMetaBlkX * metaBlkDim.w; in HwlComputeHtileInfo()
232 pOut->height = numMetaBlkY * metaBlkDim.h; in HwlComputeHtileInfo()
235 pOut->metaBlkWidth = metaBlkDim.w; in HwlComputeHtileInfo()
236 pOut->metaBlkHeight = metaBlkDim.h; in HwlComputeHtileInfo()
307 Dim2d metaBlkDim = {8, 8}; in HwlComputeCmaskInfo() local
311 metaBlkDim.w <<= widthAmp; in HwlComputeCmaskInfo()
312 metaBlkDim.h <<= heightAmp; in HwlComputeCmaskInfo()
327 ADDR_ASSERT((metaBlkDimDbg.w == metaBlkDim.w) && (metaBlkDimDbg.h == metaBlkDim.h)); in HwlComputeCmaskInfo()
330 UINT_32 numMetaBlkX = (pIn->unalignedWidth + metaBlkDim.w - 1) / metaBlkDim.w; in HwlComputeCmaskInfo()
331 UINT_32 numMetaBlkY = (pIn->unalignedHeight + metaBlkDim.h - 1) / metaBlkDim.h; in HwlComputeCmaskInfo()
336 pOut->pitch = numMetaBlkX * metaBlkDim.w; in HwlComputeCmaskInfo()
337 pOut->height = numMetaBlkY * metaBlkDim.h; in HwlComputeCmaskInfo()
347 pOut->metaBlkWidth = metaBlkDim.w; in HwlComputeCmaskInfo()
348 pOut->metaBlkHeight = metaBlkDim.h; in HwlComputeCmaskInfo()
597 Dim3d metaBlkDim = compressBlkDim; in HwlComputeDccInfo() local
601 if ((metaBlkDim.h < metaBlkDim.w) || in HwlComputeDccInfo()
602 ((pIn->numMipLevels > 1) && (metaBlkDim.h == metaBlkDim.w))) in HwlComputeDccInfo()
604 if ((dataThick == FALSE) || (metaBlkDim.h <= metaBlkDim.d)) in HwlComputeDccInfo()
606 metaBlkDim.h <<= 1; in HwlComputeDccInfo()
610 metaBlkDim.d <<= 1; in HwlComputeDccInfo()
615 if ((dataThick == FALSE) || (metaBlkDim.w <= metaBlkDim.d)) in HwlComputeDccInfo()
617 metaBlkDim.w <<= 1; in HwlComputeDccInfo()
621 metaBlkDim.d <<= 1; in HwlComputeDccInfo()
630 GetMetaMipInfo(pIn->numMipLevels, &metaBlkDim, dataThick, pOut->pMipInfo, in HwlComputeDccInfo()
651 pOut->pitch = numMetaBlkX * metaBlkDim.w; in HwlComputeDccInfo()
652 pOut->height = numMetaBlkY * metaBlkDim.h; in HwlComputeDccInfo()
653 pOut->depth = numMetaBlkZ * metaBlkDim.d; in HwlComputeDccInfo()
659 pOut->metaBlkWidth = metaBlkDim.w; in HwlComputeDccInfo()
660 pOut->metaBlkHeight = metaBlkDim.h; in HwlComputeDccInfo()
661 pOut->metaBlkDepth = metaBlkDim.d; in HwlComputeDccInfo()