Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib1.cpp2619 const UINT_64 linearOffset = (BYTES_TO_BITS(addr) + bitPosition) / bpp; in ComputeSurfaceCoordFromAddrLinear() local
2621 *pX = static_cast<UINT_32>((linearOffset % sliceSize) % pitch); in ComputeSurfaceCoordFromAddrLinear()
2622 *pY = static_cast<UINT_32>((linearOffset % sliceSize) / pitch % height); in ComputeSurfaceCoordFromAddrLinear()
2623 *pSlice = static_cast<UINT_32>((linearOffset / sliceSize) % numSlices); in ComputeSurfaceCoordFromAddrLinear()
2624 *pSample = static_cast<UINT_32>((linearOffset / sliceSize) / numSlices); in ComputeSurfaceCoordFromAddrLinear()