Searched refs:ADDR_ASSERT (Results 1 – 12 of 12) sorted by relevance
76 #define ADDR_ASSERT(__e) assert(__e) macro78 #define ADDR_UNHANDLED_CASE() ADDR_ASSERT(!"Unhandled case")79 #define ADDR_NOT_IMPLEMENTED() ADDR_ASSERT(!"Not implemented");308 ADDR_ASSERT(dim > 0); in IsPow2()323 ADDR_ASSERT(dim > 0); in IsPow2()342 ADDR_ASSERT(IsPow2(align)); in PowTwoAlign()361 ADDR_ASSERT(IsPow2(align)); in PowTwoAlign()489 ADDR_ASSERT(IsPow2(x)); in Log2()505 ADDR_ASSERT(x <= 16); in QLog2()598 ADDR_ASSERT(x != 0); in RoundHalf()[all …]
242 ADDR_ASSERT(localIn.mipLevel == 0); in ComputeSurfaceInfo()264 ADDR_ASSERT(IsLinear(localIn.tileMode)); in ComputeSurfaceInfo()300 ADDR_ASSERT(localIn.pTileInfo); in ComputeSurfaceInfo()329 ADDR_ASSERT(!IsMacroTiled(localIn.tileMode)); in ComputeSurfaceInfo()373 ADDR_ASSERT((pOut->pitchAlign % 32) == 0); in ComputeSurfaceInfo()493 ADDR_ASSERT(!IsMacroTiled(input.tileMode)); in ComputeSurfaceAddrFromCoord()573 ADDR_ASSERT(!IsMacroTiled(input.tileMode)); in ComputeSurfaceCoordFromAddr()877 ADDR_ASSERT(macroModeIndex != TileIndexInvalid); in ComputeFmaskInfo()930 ADDR_ASSERT(pIn->numSamples > 1); in ComputeFmaskAddrFromCoord()974 ADDR_ASSERT(pIn->numSamples > 1); in ComputeFmaskCoordFromAddr()[all …]
189 ADDR_ASSERT(IsLinear(localIn.swizzleMode)); in ComputeSurfaceInfo()296 ADDR_ASSERT(pOut->surfSize != 0); in ComputeSurfaceInfo()1403 ADDR_ASSERT(microBlockSizeTableIndex < sizeof(Block256_2d) / sizeof(Block256_2d[0])); in ComputeBlockDimension()1415 ADDR_ASSERT(microBlockSizeTableIndex < sizeof(Block1K_3d) / sizeof(Block1K_3d[0])); in ComputeBlockDimension()1497 ADDR_ASSERT(IsThin(pIn->resourceType, pIn->swizzleMode)); in ComputeSurface2DMicroBlockOffset()1575 ADDR_ASSERT(IsThick(pIn->resourceType, pIn->swizzleMode)); in ComputeSurface3DMicroBlockOffset()1681 ADDR_ASSERT(macroBlockBits >= m_pipeInterleaveLog2); in GetPipeXorBits()1858 ADDR_ASSERT(pOut->bpp >= 8); in ComputeQbStereoInfo()1859 ADDR_ASSERT((pOut->surfSize % pOut->baseAlign) == 0); in ComputeQbStereoInfo()1870 ADDR_ASSERT(pOut->height <= MaxSurfaceHeight); in ComputeQbStereoInfo()
705 ADDR_ASSERT(!"Invalid number type"); in GetCompType()955 ADDR_ASSERT(0); in PixGetColorCompInfo()1022 ADDR_ASSERT(0); in PixGetDepthCompInfo()1146 ADDR_ASSERT(pBpp != NULL); in AdjustSurfaceInfo()1147 ADDR_ASSERT(pWidth != NULL && pHeight != NULL && pBasePitch != NULL); in AdjustSurfaceInfo()1277 ADDR_ASSERT(pBpp != NULL); in RestoreSurfaceInfo()1278 ADDR_ASSERT(pWidth != NULL && pHeight != NULL); in RestoreSurfaceInfo()
316 ADDR_ASSERT(family != ADDR_CHIP_FAMILY_IVLD); in SetChipFamily()
732 ADDR_ASSERT(actualMipLevels >= pIn->numMipLevels); in VerifyMipLevelInfo()
217 ADDR_ASSERT(0 == (pIn->colorSurfSize & 0xff)); in HwlComputeDccInfo()229 ADDR_ASSERT(IsPow2(fastClearBaseAlign)); in HwlComputeDccInfo()249 ADDR_ASSERT(IsPow2(pOut->dccRamBaseAlign)); in HwlComputeDccInfo()412 ADDR_ASSERT(!"This should be a unexpected Fusion"); in HwlConvertChipFamily()572 ADDR_ASSERT(index < static_cast<INT_32>(m_noOfEntries)); in HwlPostCheckTileIndex()627 ADDR_ASSERT((macroModeIndex != TileIndexInvalid) && in HwlSetupTileCfg()739 …ADDR_ASSERT(((MinDepth2DThinIndex <= pOut->tileIndex) && (MaxDepth2DThinIndex >= pOut->tileIndex))… in HwlComputeSurfaceInfo()795 ADDR_ASSERT(tileMode == ADDR_TM_2D_TILED_THIN1 || in HwlComputeFmaskInfo()801 ADDR_ASSERT(m_tileTable[14].mode == ADDR_TM_2D_TILED_THIN1); in HwlComputeFmaskInfo()802 ADDR_ASSERT(m_tileTable[15].mode == ADDR_TM_3D_TILED_THIN1); in HwlComputeFmaskInfo()[all …]
200 ADDR_ASSERT(!"Invalid pipe config"); in GetPipePerSurf()1198 ADDR_ASSERT(pTileInfo != NULL); in HwlComputeTileDataWidthAndHeightLinear()1715 ADDR_ASSERT(pIn->width == expPitch); in HwlPreHandleBaseLvl3xPitch()1725 ADDR_ASSERT(IsPow2(expPitch)); in HwlPreHandleBaseLvl3xPitch()1847 ADDR_ASSERT(numSamples == 1); in HwlGetSizeAdjustmentMicroTiled()1899 ADDR_ASSERT(!"This should be a Fusion"); in HwlConvertChipFamily()1997 ADDR_ASSERT(bpp != 128); in HwlSetupTileInfo()2004 ADDR_ASSERT(numSamples == 4); in HwlSetupTileInfo()2314 ADDR_ASSERT(m_logicalBanks <= 16); in DecodeGbRegs()2490 ADDR_ASSERT(pTileInfo->bankWidth == 1 && pTileInfo->macroAspectRatio > 1); in HwlComputeSurfaceCoord2DFromBankPipe()[all …]
123 ADDR_ASSERT(pOut->pTileInfo); in DispatchComputeSurfaceInfo()249 ADDR_ASSERT((pIn->width % 8) == 0); in ComputeSurfaceInfoLinear()292 ADDR_ASSERT((pIn->pitchAlign % pOut->pitchAlign) == 0); in ComputeSurfaceInfoLinear()309 ADDR_ASSERT((pIn->heightAlign % pOut->heightAlign) == 0); in ComputeSurfaceInfoLinear()580 ADDR_ASSERT(Thickness(expTileMode) == 1); in ComputeSurfaceInfoMacroTiled()808 ADDR_ASSERT((pTileInfo->bankHeight % bankHeightAlign) == 0); in HwlReduceBankWidthHeight()1062 ADDR_ASSERT(valid == TRUE); in SanityCheckMacroTiled()1065 ADDR_ASSERT(numPipes * pTileInfo->banks >= 4); in SanityCheckMacroTiled()1183 ADDR_ASSERT(IsMacroTiled(pIn->tileMode)); in HwlGetAlignmentInfoMacroTiled()1187 ADDR_ASSERT(pIn->pTileInfo); in HwlGetAlignmentInfoMacroTiled()[all …]
213 ADDR_ASSERT((metaBlkDimDbg.w == metaBlkDim.w) && (metaBlkDimDbg.h == metaBlkDim.h)); in HwlComputeHtileInfo()327 ADDR_ASSERT((metaBlkDimDbg.w == metaBlkDim.w) && (metaBlkDimDbg.h == metaBlkDim.h)); in HwlComputeCmaskInfo()1151 ADDR_ASSERT((m_blockVarSizeLog2 == 0) || in HwlInitGlobalParams()1221 ADDR_ASSERT(!"This should be a Fusion"); in HwlConvertChipFamily()1706 ADDR_ASSERT(dataSurfaceType == Gfx9DataColor); in GenMetaEquation()2133 ADDR_ASSERT(equationIndex < EquationTableSize); in InitEquationTable()2387 ADDR_ASSERT((2u << GetMaxValidChannelIndex(pEquation->addr, 8, 0)) == in HwlComputeBlock256Equation()2389 ADDR_ASSERT((2u << GetMaxValidChannelIndex(pEquation->addr, 8, 1)) == microBlockDim.h); in HwlComputeBlock256Equation()2432 ADDR_ASSERT((2 * maxBitsUsed) >= maxXorBits); in HwlComputeThinEquation()2437 ADDR_ASSERT(extraXorBits >= maxXorBits - blockSizeLog2); in HwlComputeThinEquation()[all …]
428 ADDR_ASSERT((ord < 32) || (bit == 0)); in solveAddr()486 ADDR_ASSERT((ord < 32) || (bit == 0)); in solveAddr()653 ADDR_ASSERT(m_numBits > 0); in mort2d()669 ADDR_ASSERT(m_numBits > 0); in mort3d()
568 ADDR_ASSERT(pLib != NULL); in AddrGetVersion()592 ADDR_ASSERT(pLib != NULL); in AddrUseTileIndex()616 ADDR_ASSERT(pLib != NULL); in AddrUseCombinedSwizzle()846 ADDR_ASSERT(returnCode == ADDR_OK); in ElemGetExportNorm()