Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.cpp984 UINT_32 elementBytes, ///< [in] element bytes per element in ApplyCustomizedPitchHeight() argument
1014 UINT_32 customizedHeight = pIn->sliceAlign / elementBytes / (*pPitch); in ApplyCustomizedPitchHeight()
1016 if (customizedHeight * elementBytes * (*pPitch) != pIn->sliceAlign) in ApplyCustomizedPitchHeight()
1214 UINT_32 elementBytes = pIn->bpp >> 3; in ComputeSurfaceCoordFromAddrLinear() local
1222 mipSize = localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()
1227 mipSize = currentMipHeight * localOut.pitch * elementBytes; in ComputeSurfaceCoordFromAddrLinear()
1254 UINT_32 elemOffsetInMip = (offsetInSlice - mipOffsetInSlice) / elementBytes; in ComputeSurfaceCoordFromAddrLinear()
Daddrlib2.h764 UINT_32 elementBytes,
/external/deqp/external/vulkancts/framework/vulkan/
DvkQueryUtil.hpp186 const deUint8* elementBytes = reinterpret_cast<const deUint8*>(&(*beg)); in checkBits() local
189 if (elementBytes[i] != pattern) in checkBits()
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.cpp4071 UINT_32 elementBytes = pIn->bpp >> 3; in HwlComputeSurfaceInfoLinear() local
4082 const UINT_32 pitchAlignInElement = alignment / elementBytes; in HwlComputeSurfaceInfoLinear()
4089 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement, in HwlComputeSurfaceInfoLinear()
4099 pOut->pMipInfo[i].offset = pitch * elementBytes * i; in HwlComputeSurfaceInfoLinear()
4127 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes; in HwlComputeSurfaceInfoLinear()
4130 … pOut->blockWidth = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes); in HwlComputeSurfaceInfoLinear()
4871 UINT_32 elementBytes = pIn->bpp >> 3; in ComputeSurfaceLinearPadding() local
4882 pitchAlignInElement = (256 / elementBytes); in ComputeSurfaceLinearPadding()
4888 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement, in ComputeSurfaceLinearPadding()
4900 pMipInfo[i].offset = mipChainWidth * mipChainHeight * elementBytes; in ComputeSurfaceLinearPadding()