Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/core/
Daddrlib2.h203 BOOL_32 IsBlock256b(AddrSwizzleMode swizzleMode) const in IsBlock256b() argument
205 return m_swizzleModeTable[swizzleMode].is256b; in IsBlock256b()
208 BOOL_32 IsBlock4kb(AddrSwizzleMode swizzleMode) const in IsBlock4kb() argument
210 return m_swizzleModeTable[swizzleMode].is4kb; in IsBlock4kb()
213 BOOL_32 IsBlock64kb(AddrSwizzleMode swizzleMode) const in IsBlock64kb() argument
215 return m_swizzleModeTable[swizzleMode].is64kb; in IsBlock64kb()
218 BOOL_32 IsBlockVariable(AddrSwizzleMode swizzleMode) const in IsBlockVariable() argument
220 return m_swizzleModeTable[swizzleMode].isVar; in IsBlockVariable()
224 BOOL_32 IsLinear(AddrSwizzleMode swizzleMode) const in IsLinear() argument
226 return m_swizzleModeTable[swizzleMode].isLinear; in IsLinear()
[all …]
Daddrlib2.cpp189 ADDR_ASSERT(IsLinear(localIn.swizzleMode)); in ComputeSurfaceInfo()
226 if (IsLinear(pIn->swizzleMode)) in ComputeSurfaceInfo()
350 if (IsLinear(localIn.swizzleMode)) in ComputeSurfaceAddrFromCoord()
405 if (IsLinear(pIn->swizzleMode)) in ComputeSurfaceCoordFromAddr()
625 BOOL_32 valid = (IsZOrderSwizzle(pIn->swizzleMode) == TRUE) && in ComputeFmaskInfo()
649 localIn.swizzleMode = pIn->swizzleMode; in ComputeFmaskInfo()
826 else if (IsXor(pIn->swizzleMode) == FALSE) in ComputePipeBankXor()
861 else if ((IsThin(pIn->resourceType, pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor()
862 (IsNonPrtXor(pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor()
1341 AddrSwizzleMode swizzleMode) const in ComputeBlockDimensionForSurf()
[all …]
/external/mesa3d/src/amd/addrlib/gfx9/
Dgfx9addrlib.h98 AddrSwizzleMode swizzleMode; member
133 AddrSwizzleMode swizzleMode) const in HwlIsStandardSwizzle() argument
135 return m_swizzleModeTable[swizzleMode].isStd || in HwlIsStandardSwizzle()
136 (IsTex3d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp); in HwlIsStandardSwizzle()
141 AddrSwizzleMode swizzleMode) const in HwlIsDisplaySwizzle() argument
143 return IsTex2d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle()
148 AddrSwizzleMode swizzleMode) const in HwlIsThin() argument
152 (m_swizzleModeTable[swizzleMode].isZ == FALSE) && in HwlIsThin()
153 (m_swizzleModeTable[swizzleMode].isStd == FALSE))); in HwlIsThin()
158 AddrSwizzleMode swizzleMode) const in HwlIsThick() argument
[all …]
Dgfx9addrlib.cpp168 pIn->swizzleMode); in HwlComputeHtileInfo()
243 pOut->baseAlign = Max(pOut->baseAlign, GetBlockSize(pIn->swizzleMode)); in HwlComputeHtileInfo()
246 if ((IsXor(pIn->swizzleMode) == FALSE) && (numPipeTotal > 2)) in HwlComputeHtileInfo()
281 pIn->swizzleMode); in HwlComputeCmaskInfo()
344 pOut->baseAlign = Max(pOut->baseAlign, GetBlockSize(pIn->swizzleMode)); in HwlComputeCmaskInfo()
545 BOOL_32 dataLinear = IsLinear(pIn->swizzleMode); in HwlComputeDccInfo()
558 UINT_32 numPipeTotal = GetPipeNumForMetaAddressing(pipeAligned, pIn->swizzleMode); in HwlComputeDccInfo()
570 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo()
596 Dim3d compressBlkDim = GetDccCompressBlk(pIn->resourceType, pIn->swizzleMode, pIn->bpp); in HwlComputeDccInfo()
648 pOut->dccRamBaseAlign = Max(pOut->dccRamBaseAlign, GetBlockSize(pIn->swizzleMode)); in HwlComputeDccInfo()
[all …]
/external/mesa3d/src/amd/common/
Dac_surface.c847 *swizzle_mode = sout.swizzleMode; in gfx9_get_preferred_swizzle_mode()
867 surf->u.gfx9.stencil.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree()
876 surf->u.gfx9.surf.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree()
892 if (in->swizzleMode == ADDR_SW_LINEAR) { in gfx9_compute_miptree()
898 assert(in->swizzleMode != ADDR_SW_LINEAR); in gfx9_compute_miptree()
910 hin.swizzleMode = in->swizzleMode; in gfx9_compute_miptree()
929 in->swizzleMode != ADDR_SW_LINEAR) { in gfx9_compute_miptree()
942 din.swizzleMode = in->swizzleMode; in gfx9_compute_miptree()
1003 ret = gfx9_get_preferred_swizzle_mode(addrlib, in, true, &fin.swizzleMode); in gfx9_compute_miptree()
1017 surf->u.gfx9.fmask.swizzle_mode = fin.swizzleMode; in gfx9_compute_miptree()
[all …]
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h2403 AddrSwizzleMode swizzleMode; ///< Swizzle Mode for Gfx9 member
2532 AddrSwizzleMode swizzleMode; ///< Swizzle mode for Gfx9 member
2598 AddrSwizzleMode swizzleMode; ///< Swizzle mode for Gfx9 member
2719 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member
2787 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member
2843 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member
2906 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member
2974 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member
3035 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member
3113 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member
[all …]
Daddrinterface.cpp1688 AddrSwizzleMode swizzleMode, in Addr2IsValidDisplaySwizzleMode() argument
1699 in.swizzleMode = swizzleMode; in Addr2IsValidDisplaySwizzleMode()