/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/r800/ |
H A D | egbaddrlib.cpp | 223 &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 D | siaddrlib.cpp | 1638 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 D | egbaddrlib.h | 155 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 D | siaddrlib.h | 180 UINT_32 baseAlign, UINT_32 pitchAlign, 211 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
|
H A D | ciaddrlib.cpp | 2071 pOut->pitchAlign = PowTwoAlign(pOut->pitchAlign, 256); in HwlComputeSurfaceAlignmentsMacroTiled()
|
/aosp_15_r20/external/mesa3d/src/amd/addrlib/src/core/ |
H A D | addrlib1.cpp | 355 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 D | addrinterface.h | 582 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 D | gfx11addrlib.cpp | 4460 …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 D | gfx10addrlib.cpp | 4725 …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 D | ac_surface.c | 896 surf->prt_tile_width = AddrSurfInfoOut->pitchAlign; in gfx6_compute_level()
|