Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp240 &pOut->pitchAlign, in ComputeSurfaceInfoLinear()
267 &expPitch, &pOut->pitchAlign, in ComputeSurfaceInfoLinear()
283 pOut->pitchAlign, in ComputeSurfaceInfoLinear()
288 if ((pIn->pitchAlign != 0) || (pIn->heightAlign != 0)) in ComputeSurfaceInfoLinear()
290 if (pIn->pitchAlign != 0) in ComputeSurfaceInfoLinear()
292 ADDR_ASSERT((pIn->pitchAlign % pOut->pitchAlign) == 0); in ComputeSurfaceInfoLinear()
293 pOut->pitchAlign = pIn->pitchAlign; in ComputeSurfaceInfoLinear()
295 if (IsPow2(pOut->pitchAlign)) in ComputeSurfaceInfoLinear()
297 expPitch = PowTwoAlign(expPitch, pOut->pitchAlign); in ComputeSurfaceInfoLinear()
301 expPitch += pOut->pitchAlign - 1; in ComputeSurfaceInfoLinear()
[all …]
Dsiaddrlib.cpp1654 UINT_32 pitchAlign; in HwlGetPitchAlignmentLinear() local
1659 pitchAlign = Max(64u, m_pipeInterleaveBytes / BITS_TO_BYTES(bpp)); in HwlGetPitchAlignmentLinear()
1664 pitchAlign = Max(8u, 64 / BITS_TO_BYTES(bpp)); in HwlGetPitchAlignmentLinear()
1667 return pitchAlign; in HwlGetPitchAlignmentLinear()
1686 UINT_32 pitchAlign, ///< [in] pitch alignment in HwlGetSizeAdjustmentLinear() argument
1710 pitch += pitchAlign; in HwlGetSizeAdjustmentLinear()
1810 UINT_32 pitchAlign; in HwlGetPitchAlignmentMicroTiled() local
1814 pitchAlign = EgBasedLib::HwlGetPitchAlignmentMicroTiled(tileMode,bpp,flags,numSamples); in HwlGetPitchAlignmentMicroTiled()
1818 pitchAlign = 8; in HwlGetPitchAlignmentMicroTiled()
1821 return pitchAlign; in HwlGetPitchAlignmentMicroTiled()
[all …]
Degbaddrlib.h172 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
180 UINT_32 baseAlign, UINT_32 pitchAlign,
243 UINT_32 pitchAlign, UINT_32 heightAlign,
Dsiaddrlib.h194 UINT_32 baseAlign, UINT_32 pitchAlign,
225 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
Dciaddrlib.cpp2088 pOut->pitchAlign = PowTwoAlign(pOut->pitchAlign, 256); in HwlComputeSurfaceAlignmentsMacroTiled()
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib1.cpp372 ADDR_ASSERT((pOut->pitchAlign % 32) == 0); in ComputeSurfaceInfo()
3275 UINT_32 pitchAlign = *pPitchAlign; in PadDimensions() local
3305 if (IsPow2(pitchAlign)) in PadDimensions()
3307 *pPitch = PowTwoAlign((*pPitch), pitchAlign); in PadDimensions()
3311 *pPitch += pitchAlign - 1; in PadDimensions()
3312 *pPitch /= pitchAlign; in PadDimensions()
3313 *pPitch *= pitchAlign; in PadDimensions()
/third_party/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h575 UINT_32 pitchAlign; ///< Pitch alignment request from client member
600 UINT_32 pitchAlign; ///< Pitch alignment, in elements member
1326 UINT_32 pitchAlign; ///< Pitch alignment member
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp4174 …const UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementByte… in HwlComputeSurfaceInfoLinear() local
4176 UINT_32 pitch = PowTwoAlign(pIn->width, pitchAlign); in HwlComputeSurfaceInfoLinear()
4188 const UINT_32 mipActualWidth = PowTwoAlign(mipWidth, pitchAlign); in HwlComputeSurfaceInfoLinear()
4205 … returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight); in HwlComputeSurfaceInfoLinear()
4231 pOut->blockWidth = pitchAlign; in HwlComputeSurfaceInfoLinear()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp4766 …const UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementByte… in HwlComputeSurfaceInfoLinear() local
4768 UINT_32 pitch = PowTwoAlign(pIn->width, pitchAlign); in HwlComputeSurfaceInfoLinear()
4780 const UINT_32 mipActualWidth = PowTwoAlign(mipWidth, pitchAlign); in HwlComputeSurfaceInfoLinear()
4797 … returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight); in HwlComputeSurfaceInfoLinear()
4823 pOut->blockWidth = pitchAlign; in HwlComputeSurfaceInfoLinear()
/third_party/mesa3d/src/amd/common/
Dac_surface.c723 surf->prt_tile_width = AddrSurfInfoOut->pitchAlign; in gfx6_compute_level()