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/
H A Daddrlib2.cpp1060 UINT_32 elementBytes, ///< [in] element bytes per element in ApplyCustomizedPitchHeight()
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()
1058 ApplyCustomizedPitchHeight( const ADDR2_COMPUTE_SURFACE_INFO_INPUT* pIn, UINT_32 elementBytes, UINT_32 pitchAlignInElement, UINT_32* pPitch, UINT_32* pHeight ) const ApplyCustomizedPitchHeight() argument
H A Daddrlib2.h918 UINT_32 elementBytes,
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkQueryUtil.hpp326 const deUint8* elementBytes = reinterpret_cast<const deUint8*>(&(*beg)); in checkBits() local
329 if (elementBytes[i] != pattern) in checkBits()
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
H A Dgfx9addrlib.cpp4332 UINT_32 elementBytes = pIn->bpp >> 3;
4343 const UINT_32 pitchAlignInElement = alignment / elementBytes;
4350 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement,
4360 pOut->pMipInfo[i].offset = pitch * elementBytes * i;
4388 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * actualHeight * elementBytes;
4391 pOut->blockWidth = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes);
5129 UINT_32 elementBytes = pIn->bpp >> 3;
5140 pitchAlignInElement = (256 / elementBytes);
5146 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlignInElement,
5159 pMipInfo[i].offset = mipChainWidth * mipChainHeight * elementBytes;
[all...]
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
H A Dgfx11addrlib.cpp4173 const UINT_32 elementBytes = pIn->bpp >> 3;
4174 const UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes);
4200 sliceSize += static_cast<UINT_64>(mipActualWidth) * mipHeight * elementBytes;
4205 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight);
4209 sliceSize = static_cast<UINT_64>(pitch) * actualHeight * elementBytes;
4230 pOut->baseAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? elementBytes : 256;
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
H A Dgfx10addrlib.cpp4765 const UINT_32 elementBytes = pIn->bpp >> 3;
4766 const UINT_32 pitchAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? 1 : (256 / elementBytes);
4792 sliceSize += static_cast<UINT_64>(mipActualWidth) * mipHeight * elementBytes;
4797 returnCode = ApplyCustomizedPitchHeight(pIn, elementBytes, pitchAlign, &pitch, &actualHeight);
4801 sliceSize = static_cast<UINT_64>(pitch) * actualHeight * elementBytes;
4822 pOut->baseAlign = (pIn->swizzleMode == ADDR_SW_LINEAR_GENERAL) ? elementBytes : 256;

Completed in 19 milliseconds