Home
last modified time | relevance | path

Searched refs:elementBytes (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.cpp1060 UINT_32 elementBytes, ///< [in] element bytes per element in ApplyCustomizedPitchHeight() argument
1090 UINT_32 customizedHeight = pIn->sliceAlign / elementBytes / (*pPitch); in ApplyCustomizedPitchHeight()
1092 if (customizedHeight * elementBytes * (*pPitch) != pIn->sliceAlign) in ApplyCustomizedPitchHeight()
1290 UINT_32 elementBytes = pIn->bpp >> 3; in ComputeSurfaceCoordFromAddrLinear() local
1298 mipSize = localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()
1303 mipSize = currentMipHeight * localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()
1330 UINT_32 elemOffsetInMip = (offsetInSlice - mipOffsetInSlice) / elementBytes; in ComputeSurfaceCoordFromAddrLinear()
Daddrlib2.h918 UINT_32 elementBytes,
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkQueryUtil.hpp324 const deUint8* elementBytes = reinterpret_cast<const deUint8*>(&(*beg)); in checkBits() local
327 if (elementBytes[i] != pattern) in checkBits()
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp4332 UINT_32 elementBytes = pIn->bpp >> 3; in HwlComputeSurfaceInfoLinear() local
4343 const UINT_32 pitchAlignInElement = alignment / elementBytes; in HwlComputeSurfaceInfoLinear()
4350 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement, in HwlComputeSurfaceInfoLinear()
4360 pOut->pMipInfo[i].offset = pitch * elementBytes * i; in HwlComputeSurfaceInfoLinear()
4388 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4391 … pOut->blockWidth = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes); in HwlComputeSurfaceInfoLinear()
5129 UINT_32 elementBytes = pIn->bpp >> 3; in ComputeSurfaceLinearPadding() local
5140 pitchAlignInElement = (256 / elementBytes); in ComputeSurfaceLinearPadding()
5146 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement, in ComputeSurfaceLinearPadding()
5159 pMipInfo[i].offset = mipChainWidth * mipChainHeight * elementBytes; in ComputeSurfaceLinearPadding()
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp4173 const UINT_32 elementBytes = pIn->bpp >> 3; in HwlComputeSurfaceInfoLinear() local
4174 …nst UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes); in HwlComputeSurfaceInfoLinear()
4200 sliceSize += static_cast<UINT_64>(mipActualWidth) * mipHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4205 … returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight); in HwlComputeSurfaceInfoLinear()
4209 sliceSize = static_cast<UINT_64>(pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4230 … pOut->baseAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? elementBytes : 256; in HwlComputeSurfaceInfoLinear()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp4765 const UINT_32 elementBytes = pIn->bpp >> 3; in HwlComputeSurfaceInfoLinear() local
4766 …nst UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes); in HwlComputeSurfaceInfoLinear()
4792 sliceSize += static_cast<UINT_64>(mipActualWidth) * mipHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4797 … returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight); in HwlComputeSurfaceInfoLinear()
4801 sliceSize = static_cast<UINT_64>(pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4822 … pOut->baseAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? elementBytes : 256; in HwlComputeSurfaceInfoLinear()