Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrlib1.cpp2611 const UINT_64 linearOffset = (BYTES_TO_BITS(addr) + bitPosition) / bpp; in ComputeSurfaceCoordFromAddrLinear() local
2613 *pX = static_cast<UINT_32>((linearOffset % sliceSize) % pitch); in ComputeSurfaceCoordFromAddrLinear()
2614 *pY = static_cast<UINT_32>((linearOffset % sliceSize) / pitch % height); in ComputeSurfaceCoordFromAddrLinear()
2615 *pSlice = static_cast<UINT_32>((linearOffset / sliceSize) % numSlices); in ComputeSurfaceCoordFromAddrLinear()
2616 *pSample = static_cast<UINT_32>((linearOffset / sliceSize) / numSlices); in ComputeSurfaceCoordFromAddrLinear()