Home
last modified time | relevance | path

Searched refs:BOOL_32 (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.h79 BOOL_32 DispatchComputeSurfaceInfo(
122 BOOL_32 isWidth8, BOOL_32 isHeight8) const;
125 BOOL_32 isTcCompatible, BOOL_32 isLinear, ADDR_TILEINFO* pTileInfo) const;
139 virtual BOOL_32 HwlGetAlignmentInfoMacroTiled(
150 AddrTileType microTileType, BOOL_32 isDepthSampleOrder) const;
153 virtual BOOL_32 HwlGetMaxCmaskBlockMax() const in HwlGetMaxCmaskBlockMax()
184 virtual BOOL_32 HwlSanityCheckMacroTiled(
200 BOOL_32 ignoreSE,
203 virtual BOOL_32 HwlTileInfoEqual(
232 virtual BOOL_32 HwlReduceBankWidthHeight(
[all …]
Dsiaddrlib.h123 UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8, BOOL_32 isHeight8,
128 UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8, BOOL_32 isHeight8,
135 virtual BOOL_32 HwlComputeMipLevel(
141 virtual BOOL_32 HwlInitGlobalParams(
154 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const;
166 AddrTileMode tileMode, UINT_32 pipeSwizzle, BOOL_32 ignoreSE,
200 virtual BOOL_32 HwlTileInfoEqual(
215 virtual BOOL_32 HwlSanityCheckMacroTiled( in HwlSanityCheckMacroTiled()
232 BOOL_32 ignoreSE,
256 virtual BOOL_32 HwlReduceBankWidthHeight( in HwlReduceBankWidthHeight()
[all …]
Dciaddrlib.h78 virtual BOOL_32 HwlInitGlobalParams(
160 BOOL_32 InitTileSettingTable(
163 BOOL_32 InitMacroTileCfgTable(
178 BOOL_32 DepthStencilTileCfgMatch(
182 BOOL_32 CheckTcCompatibility(const ADDR_TILEINFO* pTileInfo, UINT_32 bpp, AddrTileMode tileMode,
185 BOOL_32 SupportDccAndTcCompatibility() const in SupportDccAndTcCompatibility()
190 BOOL_32 AltTilingEnabled() const in AltTilingEnabled()
203 BOOL_32 m_allowNonDispThickModes;
Degbaddrlib.cpp84 BOOL_32 EgBasedLib::DispatchComputeSurfaceInfo( in DispatchComputeSurfaceInfo()
102 BOOL_32 valid; in DispatchComputeSurfaceInfo()
218 BOOL_32 EgBasedLib::ComputeSurfaceInfoLinear( in ComputeSurfaceInfoLinear()
351 BOOL_32 EgBasedLib::ComputeSurfaceInfoMicroTiled( in ComputeSurfaceInfoMicroTiled()
358 BOOL_32 valid = TRUE; in ComputeSurfaceInfoMicroTiled()
461 BOOL_32 EgBasedLib::ComputeSurfaceInfoMacroTiled( in ComputeSurfaceInfoMacroTiled()
468 BOOL_32 valid = TRUE; in ComputeSurfaceInfoMacroTiled()
578 BOOL_32 convertTo1D = FALSE; in ComputeSurfaceInfoMacroTiled()
662 BOOL_32 EgBasedLib::ComputeSurfaceAlignmentsLinear( in ComputeSurfaceAlignmentsLinear()
671 BOOL_32 valid = TRUE; in ComputeSurfaceAlignmentsLinear()
[all …]
Dciaddrlib.cpp430 BOOL_32 CiLib::HwlInitGlobalParams( in HwlInitGlobalParams()
433 BOOL_32 valid = TRUE; in HwlInitGlobalParams()
520 BOOL_32 macroTiled = IsMacroTiled(mode); in HwlPostCheckTileIndex()
728 BOOL_32 depthStencil2DTileConfigMatch = DepthStencilTileCfgMatch(pIn, pOut); in HwlComputeSurfaceInfo()
1137 BOOL_32 bThin = (m_settings.isBonaire == TRUE) || in HwlSelectTileMode()
1663 BOOL_32 CiLib::InitTileSettingTable( in InitTileSettingTable()
1668 BOOL_32 initOk = TRUE; in InitTileSettingTable()
1763 BOOL_32 CiLib::InitMacroTileCfgTable( in InitMacroTileCfgTable()
1768 BOOL_32 initOk = TRUE; in InitMacroTileCfgTable()
2245 BOOL_32 CiLib::DepthStencilTileCfgMatch( in DepthStencilTileCfgMatch()
[all …]
Dsiaddrlib.cpp63 const BOOL_32 SiLib::m_EquationSupport[SiLib::TileTableSize][SiLib::MaxNumElementBytes] =
670 BOOL_32 ignoreSE, ///< [in] TRUE if shader engines are ignored in ComputePipeFromCoord()
1269 BOOL_32 isLinear, ///< [in] if it is linear mode in HwlComputeHtileBytes()
1296 BOOL_32 isLinear, ///< [in] linear or tiled HTILE layout in HwlComputeXmaskAddrFromCoord()
1297 BOOL_32 isWidth8, ///< [in] TRUE if width is 8, FALSE means 4. It's register value in HwlComputeXmaskAddrFromCoord()
1298 BOOL_32 isHeight8, ///< [in] TRUE if width is 8, FALSE means 4. It's register value in HwlComputeXmaskAddrFromCoord()
1454 BOOL_32 isLinear, ///< [in] linear or tiled HTILE layout in HwlComputeXmaskCoordFromAddr()
1455 BOOL_32 isWidth8, ///< [in] Not used by SI in HwlComputeXmaskCoordFromAddr()
1456 BOOL_32 isHeight8, ///< [in] Not used by SI in HwlComputeXmaskCoordFromAddr()
2274 BOOL_32 SiLib::DecodeGbRegs( in DecodeGbRegs()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib1.h91 BOOL_32 UseTileIndex(INT_32 index) const in UseTileIndex()
97 BOOL_32 UseCombinedSwizzle() const in UseCombinedSwizzle()
237 BOOL_32 isTcCompatible, BOOL_32 isLinear, ADDR_TILEINFO* pTileInfo) const = 0;
241 BOOL_32 isWidth8, BOOL_32 isHeight8) const = 0;
246 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const = 0;
269 virtual BOOL_32 HwlComputeMipLevel(
273 virtual BOOL_32 HwlGetMaxCmaskBlockMax() const = 0;
318 BOOL_32 isLinear, BOOL_32 isWidth8, BOOL_32 isHeight8,
327 UINT_32 pitchIn, UINT_32 heightIn, UINT_32 numSlices, BOOL_32 isLinear,
339 UINT_32 numSlices, UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8,
[all …]
Dcoord.h72 BOOL_32 operator==(const Coordinate& b);
73 BOOL_32 operator<(const Coordinate& b);
74 BOOL_32 operator>(const Coordinate& b);
75 BOOL_32 operator<=(const Coordinate& b);
76 BOOL_32 operator>=(const Coordinate& b);
77 BOOL_32 operator!=(const Coordinate& b);
92 BOOL_32 remove(Coordinate& co);
93 BOOL_32 Exists(Coordinate& co);
101 BOOL_32 operator==(const CoordTerm& b);
102 BOOL_32 operator!=(const CoordTerm& b);
[all …]
Daddrlib2.h311 virtual BOOL_32 IsValidDisplaySwizzleMode( in IsValidDisplaySwizzleMode()
333 BOOL_32 IsValidSwMode(AddrSwizzleMode swizzleMode) const in IsValidSwMode()
339 BOOL_32 IsBlock256b(AddrSwizzleMode swizzleMode) const in IsBlock256b()
344 BOOL_32 IsBlock4kb(AddrSwizzleMode swizzleMode) const in IsBlock4kb()
349 BOOL_32 IsBlock64kb(AddrSwizzleMode swizzleMode) const in IsBlock64kb()
354 BOOL_32 IsBlockVariable(AddrSwizzleMode swizzleMode) const in IsBlockVariable()
360 BOOL_32 IsLinear(AddrSwizzleMode swizzleMode) const in IsLinear()
365 BOOL_32 IsRtOptSwizzle(AddrSwizzleMode swizzleMode) const in IsRtOptSwizzle()
370 BOOL_32 IsZOrderSwizzle(AddrSwizzleMode swizzleMode) const in IsZOrderSwizzle()
375 BOOL_32 IsStandardSwizzle(AddrSwizzleMode swizzleMode) const in IsStandardSwizzle()
[all …]
Dcoord.cpp70 BOOL_32 Coordinate::operator==(const Coordinate& b) in operator ==()
75 BOOL_32 Coordinate::operator<(const Coordinate& b) in operator <()
77 BOOL_32 ret; in operator <()
106 BOOL_32 Coordinate::operator>(const Coordinate& b) in operator >()
108 BOOL_32 lt = *this < b; in operator >()
109 BOOL_32 eq = *this == b; in operator >()
113 BOOL_32 Coordinate::operator<=(const Coordinate& b) in operator <=()
118 BOOL_32 Coordinate::operator>=(const Coordinate& b) in operator >=()
123 BOOL_32 Coordinate::operator!=(const Coordinate& b) in operator !=()
186 BOOL_32 CoordTerm::remove(Coordinate& co) in remove()
[all …]
Daddrelemlib.h190 BOOL_32 PixGetExportNorm(
223 ADDR_FLT_32 comps[4], BOOL_32 clearColor, BOOL_32 float32);
234 BOOL_32 IsDepthStencilTilePlanar() in IsDepthStencilTilePlanar()
245 static BOOL_32 IsCompressed(AddrFormat format);
246 static BOOL_32 IsBlockCompressed(AddrFormat format);
247 static BOOL_32 IsExpand3x(AddrFormat format);
248 static BOOL_32 IsMacroPixelPacked(AddrFormat format);
Daddrlib1.cpp1256 BOOL_32 isWidth8 = (pIn->blockWidth == 8) ? TRUE : FALSE; in ComputeHtileInfo()
1257 BOOL_32 isHeight8 = (pIn->blockHeight == 8) ? TRUE : FALSE; in ComputeHtileInfo()
1482 BOOL_32 isWidth8 = (pIn->blockWidth == 8) ? TRUE : FALSE; in ComputeHtileAddrFromCoord()
1483 BOOL_32 isHeight8 = (pIn->blockHeight == 8) ? TRUE : FALSE; in ComputeHtileAddrFromCoord()
1557 BOOL_32 isWidth8 = (pIn->blockWidth == 8) ? TRUE : FALSE; in ComputeHtileCoordFromAddr()
1558 BOOL_32 isHeight8 = (pIn->blockHeight == 8) ? TRUE : FALSE; in ComputeHtileCoordFromAddr()
1832 BOOL_32 isLinear, ///< [in] if it is linear mode in ComputeHtileInfo()
1833 BOOL_32 isWidth8, ///< [in] if htile block width is 8 in ComputeHtileInfo()
1834 BOOL_32 isHeight8, ///< [in] if htile block height is 8 in ComputeHtileInfo()
1970 BOOL_32 isLinear, ///< [in] is linear mode in ComputeCmaskInfo()
[all …]
Daddrelemlib.cpp557 BOOL_32 handled = FALSE; in GetCompType()
1079 BOOL_32 ElemLib::PixGetExportNorm( in PixGetExportNorm()
1085 BOOL_32 enabled = TRUE; in PixGetExportNorm()
1144 BOOL_32 bBCnFormat = FALSE; in AdjustSurfaceInfo()
1274 BOOL_32 bBCnFormat = FALSE; in RestoreSurfaceInfo()
1688 BOOL_32 clearColor, ///< [in] TRUE if clear color is set (CLEAR_COLOR) in SetClearComps()
1689 BOOL_32 float32) ///< [in] TRUE if float32 component (BLEND_FLOAT32) in SetClearComps()
1740 BOOL_32 ElemLib::IsBlockCompressed( in IsBlockCompressed()
1761 BOOL_32 ElemLib::IsCompressed( in IsCompressed()
1780 BOOL_32 ElemLib::IsExpand3x( in IsExpand3x()
[all …]
Daddrlib.cpp252 BOOL_32 initValid; in Create()
636 BOOL_32 Lib::GetExportNorm( in GetExportNorm()
641 BOOL_32 enabled = FALSE; in GetExportNorm()
Daddrlib.h282 BOOL_32 GetExportNorm(const ELEM_GETEXPORTNORM_INPUT* pIn) const;
323 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn) = 0;
Daddrlib2.cpp656 BOOL_32 valid = (IsZOrderSwizzle(pIn->swizzleMode) == TRUE) && in ComputeFmaskInfo()
1166 BOOL_32 valid = (pIn->numSamples <= 1) && (pIn->numFrags <= 1) && (pIn->pipeBankXor == 0); in ComputeSurfaceAddrFromCoordLinear()
1257 BOOL_32 valid = (pIn->numSamples <= 1) && (pIn->numFrags <= 1); in ComputeSurfaceCoordFromAddrLinear()
1470 const BOOL_32 widthPrecedent = ((log2Samples & 1) == 0) || ((log2BlkSize & 1) != 0); in ComputeThinBlockDimension()
2045 BOOL_32 Lib::IsBlockTypeAvaiable( in IsBlockTypeAvaiable()
2049 BOOL_32 avail; in IsBlockTypeAvaiable()
2074 BOOL_32 Lib::BlockTypeWithinMemoryBudget( in BlockTypeWithinMemoryBudget()
2080 BOOL_32 newBlockTypeBigger) in BlockTypeWithinMemoryBudget()
2082 BOOL_32 accept = FALSE; in BlockTypeWithinMemoryBudget()
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.h202 virtual BOOL_32 HwlIsStandardSwizzle( in HwlIsStandardSwizzle()
209 virtual BOOL_32 HwlIsDisplaySwizzle( in HwlIsDisplaySwizzle()
216 virtual BOOL_32 HwlIsThin( in HwlIsThin()
227 virtual BOOL_32 HwlIsThick( in HwlIsThick()
308 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn);
440 BOOL_32 pipeAlign,
452 BOOL_32 IsRbAligned( in IsRbAligned()
456 const BOOL_32 isRtopt = IsRtOptSwizzle(swizzleMode); in IsRbAligned()
457 const BOOL_32 isZ = IsZOrderSwizzle(swizzleMode); in IsRbAligned()
458 const BOOL_32 isDisplay = IsDisplaySwizzle(swizzleMode); in IsRbAligned()
[all …]
Dgfx11addrlib.cpp294 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
619 BOOL_32 Gfx11Lib::HwlInitGlobalParams( in HwlInitGlobalParams()
622 BOOL_32 valid = TRUE; in HwlInitGlobalParams()
968 BOOL_32 pipeAlign, ///< [in] pipe align in GetMetaBlkSize()
1760 BOOL_32 Gfx11Lib::IsValidDisplaySwizzleMode( in IsValidDisplaySwizzleMode()
1782 BOOL_32 isThin ///< is thin or thick in GetMaxNumMipsInTail()
1968 const BOOL_32 tiled = (pIn->swizzleMode != ADDR_SW_LINEAR) ? TRUE : FALSE; in HwlComputeNonBlockCompressedView()
2008 … const BOOL_32 inTail = tiled && (pIn->mipId >= infoOut.firstMipIdInTail) ? TRUE : FALSE; in HwlComputeNonBlockCompressedView()
2065 const BOOL_32 needToAvoidInTail = in HwlComputeNonBlockCompressedView()
2072 const BOOL_32 needExtraWidth = in HwlComputeNonBlockCompressedView()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.h219 virtual BOOL_32 HwlIsStandardSwizzle( in HwlIsStandardSwizzle()
226 virtual BOOL_32 HwlIsDisplaySwizzle( in HwlIsDisplaySwizzle()
233 virtual BOOL_32 HwlIsThin( in HwlIsThin()
244 virtual BOOL_32 HwlIsThick( in HwlIsThick()
333 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn);
471 BOOL_32 pipeAlign,
484 BOOL_32 IsRbAligned( in IsRbAligned()
488 const BOOL_32 isRtopt = IsRtOptSwizzle(swizzleMode); in IsRbAligned()
489 const BOOL_32 isZ = IsZOrderSwizzle(swizzleMode); in IsRbAligned()
490 const BOOL_32 isDisplay = IsDisplaySwizzle(swizzleMode); in IsRbAligned()
[all …]
Dgfx10addrlib.cpp424 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
851 BOOL_32 Gfx10Lib::HwlInitGlobalParams( in HwlInitGlobalParams()
854 BOOL_32 valid = TRUE; in HwlInitGlobalParams()
1315 BOOL_32 pipeAlign, ///< [in] pipe align in GetMetaBlkSize()
2135 BOOL_32 Gfx10Lib::IsValidDisplaySwizzleMode( in IsValidDisplaySwizzleMode()
2157 BOOL_32 isThin ///< is thin or thick in GetMaxNumMipsInTail()
2364 const BOOL_32 tiled = (pIn->swizzleMode != ADDR_SW_LINEAR) ? TRUE : FALSE; in HwlComputeNonBlockCompressedView()
2404 … const BOOL_32 inTail = tiled && (pIn->mipId >= infoOut.firstMipIdInTail) ? TRUE : FALSE; in HwlComputeNonBlockCompressedView()
2459 const BOOL_32 needToAvoidInTail = in HwlComputeNonBlockCompressedView()
2466 const BOOL_32 needExtraWidth = in HwlComputeNonBlockCompressedView()
[all …]
/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.h270 virtual BOOL_32 HwlIsStandardSwizzle( in HwlIsStandardSwizzle()
278 virtual BOOL_32 HwlIsDisplaySwizzle( in HwlIsDisplaySwizzle()
285 virtual BOOL_32 HwlIsThin( in HwlIsThin()
295 virtual BOOL_32 HwlIsThick( in HwlIsThick()
364 virtual BOOL_32 IsEquationSupported(
404 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn);
440 BOOL_32 dataThick, ADDR2_META_MIP_INFO* pInfo,
444 BOOL_32 IsValidDisplaySwizzleMode(const ADDR2_COMPUTE_SURFACE_INFO_INPUT* pIn) const;
487 BOOL_32 IsInMipTail( in IsInMipTail()
495 BOOL_32 inTail = ((width <= mipTailDim.w) && in IsInMipTail()
[all …]
Dgfx9addrlib.cpp413 BOOL_32 dataThick, ///< [in] data surface is thick in GetMetaMipInfo()
429 BOOL_32 inTail = FALSE; in GetMetaMipInfo()
589 BOOL_32 dataLinear = IsLinear(pIn->swizzleMode); in HwlComputeDccInfo()
590 BOOL_32 metaLinear = pIn->dccKeyFlags.linear; in HwlComputeDccInfo()
591 BOOL_32 pipeAligned = pIn->dccKeyFlags.pipeAligned; in HwlComputeDccInfo()
614 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
1158 BOOL_32 Gfx9Lib::HwlInitGlobalParams( in HwlInitGlobalParams()
1161 BOOL_32 valid = TRUE; in HwlInitGlobalParams()
2074 BOOL_32 isRbEquationInPipeEquation = FALSE; in GenMetaEquation()
2136 BOOL_32 isRbEqAppended = FALSE; in GenMetaEquation()
[all …]
/third_party/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h176BOOL_32 stackedDepthSlices; ///< TRUE if depth slices are treated as being
687 BOOL_32 isDepth; ///< TRUE if the surface uses depth sample ordering within
775 BOOL_32 isDepth; ///< Surface uses depth sample ordering within micro tile.
881 BOOL_32 isLinear; ///< Linear or tiled HTILE layout
914 BOOL_32 sliceInterleaved; ///< Flag to indicate if different slice's htile is interleaved
916 BOOL_32 nextMipLevelCompressible; ///< Flag to indicate whether HTILE can be enabled in
954 BOOL_32 isLinear; ///< Linear or tiled HTILE layout
1018 BOOL_32 isLinear; ///< Linear or tiled HTILE layout
1101 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear
1171 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear
[all …]
Daddrtypes.h643 #ifndef BOOL_32 // no bool type in C
646 #define BOOL_32 int macro
/third_party/mesa3d/src/amd/addrlib/src/
Daddrinterface.cpp586 BOOL_32 ADDR_API AddrUseTileIndex(ADDR_HANDLE hLib) in AddrUseTileIndex()
588 BOOL_32 useTileIndex = FALSE; in AddrUseTileIndex()
610 BOOL_32 ADDR_API AddrUseCombinedSwizzle(ADDR_HANDLE hLib) in AddrUseCombinedSwizzle()
612 BOOL_32 useCombinedSwizzle = FALSE; in AddrUseCombinedSwizzle()
828 BOOL_32 ADDR_API ElemGetExportNorm( in ElemGetExportNorm()
833 BOOL_32 enabled = FALSE; in ElemGetExportNorm()
1777 BOOL_32 *pResult) in Addr2IsValidDisplaySwizzleMode()

12