Home
last modified time | relevance | path

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

/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/r800/
H A Degbaddrlib.cpp223 &pOut->pitchAlign, in ComputeSurfaceInfoLinear()
250 &expPitch, &pOut->pitchAlign, in ComputeSurfaceInfoLinear()
266 pOut->pitchAlign, in ComputeSurfaceInfoLinear()
271 if ((pIn->pitchAlign != 0) || (pIn->heightAlign != 0)) in ComputeSurfaceInfoLinear()
273 if (pIn->pitchAlign != 0) in ComputeSurfaceInfoLinear()
275 ADDR_ASSERT((pIn->pitchAlign % pOut->pitchAlign) == 0); in ComputeSurfaceInfoLinear()
276 pOut->pitchAlign = pIn->pitchAlign; in ComputeSurfaceInfoLinear()
278 if (IsPow2(pOut->pitchAlign)) in ComputeSurfaceInfoLinear()
280 expPitch = PowTwoAlign(expPitch, pOut->pitchAlign); in ComputeSurfaceInfoLinear()
284 expPitch += pOut->pitchAlign - 1; in ComputeSurfaceInfoLinear()
[all …]
H A Dsiaddrlib.cpp1638 UINT_32 pitchAlign; in HwlGetPitchAlignmentLinear() local
1643 pitchAlign = Max(64u, m_pipeInterleaveBytes / BITS_TO_BYTES(bpp)); in HwlGetPitchAlignmentLinear()
1649 pitchAlign = Max(8u, 64 / BITS_TO_BYTES(bpp)); in HwlGetPitchAlignmentLinear()
1653 return pitchAlign; in HwlGetPitchAlignmentLinear()
1672 UINT_32 pitchAlign, ///< [in] pitch alignment in HwlGetSizeAdjustmentLinear() argument
1696 pitch += pitchAlign; in HwlGetSizeAdjustmentLinear()
1796 UINT_32 pitchAlign; in HwlGetPitchAlignmentMicroTiled() local
1800 pitchAlign = EgBasedLib::HwlGetPitchAlignmentMicroTiled(tileMode,bpp,flags,numSamples); in HwlGetPitchAlignmentMicroTiled()
1804 pitchAlign = 8; in HwlGetPitchAlignmentMicroTiled()
1807 return pitchAlign; in HwlGetPitchAlignmentMicroTiled()
[all …]
H A Degbaddrlib.h155 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
163 UINT_32 baseAlign, UINT_32 pitchAlign,
226 UINT_32 pitchAlign, UINT_32 heightAlign,
H A Dsiaddrlib.h180 UINT_32 baseAlign, UINT_32 pitchAlign,
211 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
H A Dciaddrlib.cpp2071 pOut->pitchAlign = PowTwoAlign(pOut->pitchAlign, 256); in HwlComputeSurfaceAlignmentsMacroTiled()
/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/core/
H A Daddrlib1.cpp355 ADDR_ASSERT((pOut->pitchAlign % 32) == 0); in ComputeSurfaceInfo()
3259 UINT_32 pitchAlign = *pPitchAlign; in PadDimensions() local
3289 if (IsPow2(pitchAlign)) in PadDimensions()
3291 *pPitch = PowTwoAlign((*pPitch), pitchAlign); in PadDimensions()
3295 *pPitch += pitchAlign - 1; in PadDimensions()
3296 *pPitch /= pitchAlign; in PadDimensions()
3297 *pPitch *= pitchAlign; in PadDimensions()
/aosp_15_r20/external/mesa3d/src/amd/addrlib/inc/
H A Daddrinterface.h582 UINT_32 pitchAlign; ///< Pitch alignment request from client member
607 UINT_32 pitchAlign; ///< Pitch alignment, in elements member
1333 UINT_32 pitchAlign; ///< Pitch alignment member
/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/gfx11/
H A Dgfx11addrlib.cpp4460 …const UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementByte… in HwlComputeSurfaceInfoLinear() local
4462 UINT_32 pitch = PowTwoAlign(pIn->width, pitchAlign); in HwlComputeSurfaceInfoLinear()
4474 const UINT_32 mipActualWidth = PowTwoAlign(mipWidth, pitchAlign); in HwlComputeSurfaceInfoLinear()
4491 … returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight); in HwlComputeSurfaceInfoLinear()
4517 pOut->blockWidth = pitchAlign; in HwlComputeSurfaceInfoLinear()
/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/gfx10/
H A Dgfx10addrlib.cpp4725 …const UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementByte… in HwlComputeSurfaceInfoLinear() local
4727 UINT_32 pitch = PowTwoAlign(pIn->width, pitchAlign); in HwlComputeSurfaceInfoLinear()
4739 const UINT_32 mipActualWidth = PowTwoAlign(mipWidth, pitchAlign); in HwlComputeSurfaceInfoLinear()
4756 … returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight); in HwlComputeSurfaceInfoLinear()
4782 pOut->blockWidth = pitchAlign; in HwlComputeSurfaceInfoLinear()
/aosp_15_r20/external/mesa3d/src/amd/common/
H A Dac_surface.c896 surf->prt_tile_width = AddrSurfInfoOut->pitchAlign; in gfx6_compute_level()