Searched refs:log2ElementBytes (Results 1 – 5 of 5) sorted by relevance
/external/mesa3d/src/amd/addrlib/core/ |
D | addrlib2.cpp | 1499 UINT_32 log2ElementBytes = Log2(pIn->bpp >> 3); in ComputeSurface2DMicroBlockOffset() local 1503 UINT_32 xBits = pIn->x << log2ElementBytes; in ComputeSurface2DMicroBlockOffset() 1505 if (log2ElementBytes < 3) in ComputeSurface2DMicroBlockOffset() 1508 if (log2ElementBytes == 0) in ComputeSurface2DMicroBlockOffset() 1524 if (log2ElementBytes == 4) in ComputeSurface2DMicroBlockOffset() 1533 microBlockOffset = GetBits(pIn->x, 0, 3, log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1534 GetBits(pIn->y, 1, 2, 3 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1535 GetBits(pIn->x, 3, 1, 5 + log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() 1536 GetBits(pIn->y, 3, 1, 6 + log2ElementBytes); in ComputeSurface2DMicroBlockOffset() 1544 microBlockOffset = GetBits(pIn->y, 0, 3, log2ElementBytes) | in ComputeSurface2DMicroBlockOffset() [all …]
|
/external/mesa3d/src/amd/addrlib/r800/ |
D | siaddrlib.cpp | 3577 for (UINT_32 log2ElementBytes = 0; log2ElementBytes < MaxNumElementBytes; log2ElementBytes++) in InitEquationTable() local 3580 UINT_32 bpp = 1 << (log2ElementBytes + 3); in InitEquationTable() 3596 if (IsEquationSupported(bpp, tileConfig, tileIndex, log2ElementBytes) == TRUE) in InitEquationTable() 3601 key.fields.log2ElementBytes = log2ElementBytes; in InitEquationTable() 3637 retCode = ComputeMicroTileEquation(log2ElementBytes, in InitEquationTable() 3644 retCode = ComputeMacroTileEquation(log2ElementBytes, in InitEquationTable() 3693 log2ElementBytes; in InitEquationTable() 3718 m_equationLookupTable[log2ElementBytes][tileIndex] = equationIndex; in InitEquationTable()
|
/external/mesa3d/src/amd/addrlib/gfx9/ |
D | gfx9addrlib.cpp | 4460 UINT_32 log2ElementBytes, in GetMipStartPos() argument 4618 UINT_32 log2ElementBytes = Log2(pIn->bpp >> 3); in HwlComputeSurfaceAddrFromCoordTiled() local 4636 log2ElementBytes, in HwlComputeSurfaceAddrFromCoordTiled() 4654 if ((log2ElementBytes == 0) || (log2ElementBytes == 2)) in HwlComputeSurfaceAddrFromCoordTiled() 4656 UINT_32 totalLowBits = 6 - log2ElementBytes; in HwlComputeSurfaceAddrFromCoordTiled() 4678 blockOffset <<= log2ElementBytes; in HwlComputeSurfaceAddrFromCoordTiled() 4687 ADDR_ASSERT(log2ElementBytes < MaxNumOfBpp); in HwlComputeSurfaceAddrFromCoordTiled() 4688 Dim2d microBlockDim = Block256_2d[log2ElementBytes]; in HwlComputeSurfaceAddrFromCoordTiled() 4779 Dim3d microBlockDim = Block1K_3d[log2ElementBytes]; in HwlComputeSurfaceAddrFromCoordTiled()
|
D | gfx9addrlib.h | 311 UINT_32 log2ElementBytes,
|
/external/mesa3d/src/amd/addrlib/ |
D | addrinterface.h | 145 UINT_32 log2ElementBytes : 3; ///< Log2 of Bytes per pixel member
|