Searched refs:pitchAlign (Results 1 – 10 of 10) sorted by relevance
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
D | egbaddrlib.cpp | 240 &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 …]
|
D | siaddrlib.cpp | 1654 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 …]
|
D | egbaddrlib.h | 172 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,
|
D | siaddrlib.h | 194 UINT_32 baseAlign, UINT_32 pitchAlign, 225 UINT_32 bpp, UINT_32 numSamples, UINT_32 baseAlign, UINT_32 pitchAlign,
|
D | ciaddrlib.cpp | 2088 pOut->pitchAlign = PowTwoAlign(pOut->pitchAlign, 256); in HwlComputeSurfaceAlignmentsMacroTiled()
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib1.cpp | 372 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/ |
D | addrinterface.h | 575 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/ |
D | gfx11addrlib.cpp | 4174 …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/ |
D | gfx10addrlib.cpp | 4766 …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/ |
D | ac_surface.c | 723 surf->prt_tile_width = AddrSurfInfoOut->pitchAlign; in gfx6_compute_level()
|