Searched refs:elementBytes (Results 1 – 6 of 6) sorted by relevance
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.cpp | 1060 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()
|
D | addrlib2.h | 918 UINT_32 elementBytes,
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
D | vkQueryUtil.hpp | 324 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/ |
D | gfx9addrlib.cpp | 4332 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/ |
D | gfx11addrlib.cpp | 4173 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/ |
D | gfx10addrlib.cpp | 4765 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()
|