/external/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.h | 320 BOOL_32 IsValidSwMode(AddrSwizzleMode swizzleMode) const in IsValidSwMode() argument 325 memcpy(&mode, &m_swizzleModeTable[swizzleMode], sizeof(UINT_32)); in IsValidSwMode() 330 BOOL_32 IsBlock256b(AddrSwizzleMode swizzleMode) const in IsBlock256b() argument 332 return m_swizzleModeTable[swizzleMode].is256b; in IsBlock256b() 335 BOOL_32 IsBlock4kb(AddrSwizzleMode swizzleMode) const in IsBlock4kb() argument 337 return m_swizzleModeTable[swizzleMode].is4kb; in IsBlock4kb() 340 BOOL_32 IsBlock64kb(AddrSwizzleMode swizzleMode) const in IsBlock64kb() argument 342 return m_swizzleModeTable[swizzleMode].is64kb; in IsBlock64kb() 345 BOOL_32 IsBlockVariable(AddrSwizzleMode swizzleMode) const in IsBlockVariable() argument 347 return m_swizzleModeTable[swizzleMode].isVar; in IsBlockVariable() [all …]
|
D | addrlib2.cpp | 211 ADDR_ASSERT(IsLinear(localIn.swizzleMode)); in ComputeSurfaceInfo() 248 if (IsLinear(pIn->swizzleMode)) in ComputeSurfaceInfo() 374 if (IsLinear(localIn.swizzleMode)) in ComputeSurfaceAddrFromCoord() 429 if (IsLinear(pIn->swizzleMode)) in ComputeSurfaceCoordFromAddr() 653 BOOL_32 valid = (IsZOrderSwizzle(pIn->swizzleMode) == TRUE) && in ComputeFmaskInfo() 677 localIn.swizzleMode = pIn->swizzleMode; in ComputeFmaskInfo() 889 else if ((IsThin(pIn->resourceType, pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor() 890 (IsNonPrtXor(pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor() 1378 AddrSwizzleMode swizzleMode) const in ComputeBlockDimensionForSurf() 1382 if (IsThick(resourceType, swizzleMode)) in ComputeBlockDimensionForSurf() [all …]
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.h | 241 AddrSwizzleMode swizzleMode; member 273 AddrSwizzleMode swizzleMode) const in HwlIsStandardSwizzle() argument 275 return m_swizzleModeTable[swizzleMode].isStd || in HwlIsStandardSwizzle() 276 (IsTex3d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp); in HwlIsStandardSwizzle() 281 AddrSwizzleMode swizzleMode) const in HwlIsDisplaySwizzle() argument 283 return IsTex2d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle() 288 AddrSwizzleMode swizzleMode) const in HwlIsThin() argument 292 (m_swizzleModeTable[swizzleMode].isZ == FALSE) && in HwlIsThin() 293 (m_swizzleModeTable[swizzleMode].isStd == FALSE))); in HwlIsThin() 298 AddrSwizzleMode swizzleMode) const in HwlIsThick() argument [all …]
|
D | gfx9addrlib.cpp | 167 pIn->swizzleMode); in HwlComputeHtileInfo() 226 if ((IsXor(pIn->swizzleMode) == FALSE) && (numPipeTotal > 2)) in HwlComputeHtileInfo() 235 align = Max(align, GetBlockSize(pIn->swizzleMode)); in HwlComputeHtileInfo() 282 pIn->swizzleMode); in HwlComputeCmaskInfo() 339 sizeAlign = Max(sizeAlign, GetBlockSize(pIn->swizzleMode)); in HwlComputeCmaskInfo() 546 BOOL_32 dataLinear = IsLinear(pIn->swizzleMode); in HwlComputeDccInfo() 559 UINT_32 numPipeTotal = GetPipeNumForMetaAddressing(pipeAligned, pIn->swizzleMode); in HwlComputeDccInfo() 571 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() 597 Dim3d compressBlkDim = GetDccCompressBlk(pIn->resourceType, pIn->swizzleMode, pIn->bpp); in HwlComputeDccInfo() 644 sizeAlign = Max(sizeAlign, GetBlockSize(pIn->swizzleMode)); in HwlComputeDccInfo() [all …]
|
/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.h | 222 AddrSwizzleMode swizzleMode) const in HwlIsStandardSwizzle() argument 224 return m_swizzleModeTable[swizzleMode].isStd; in HwlIsStandardSwizzle() 229 AddrSwizzleMode swizzleMode) const in HwlIsDisplaySwizzle() argument 231 return m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle() 236 AddrSwizzleMode swizzleMode) const in HwlIsThin() argument 241 (m_swizzleModeTable[swizzleMode].isStd == FALSE) && in HwlIsThin() 242 (m_swizzleModeTable[swizzleMode].isDisp == FALSE))); in HwlIsThin() 247 AddrSwizzleMode swizzleMode) const in HwlIsThick() argument 250 (m_swizzleModeTable[swizzleMode].isStd || m_swizzleModeTable[swizzleMode].isDisp)); in HwlIsThick() 391 AddrSwizzleMode swizzleMode, [all …]
|
D | gfx10addrlib.cpp | 168 if (((pIn->swizzleMode != ADDR_SW_64KB_Z_X) && in HwlComputeHtileInfo() 169 ((pIn->swizzleMode != ADDR_SW_VAR_Z_X) || (m_blockVarSizeLog2 == 0))) || in HwlComputeHtileInfo() 179 pIn->swizzleMode, in HwlComputeHtileInfo() 280 ((pIn->swizzleMode != ADDR_SW_64KB_Z_X) && in HwlComputeCmaskInfo() 281 ((pIn->swizzleMode != ADDR_SW_VAR_Z_X) || (m_blockVarSizeLog2 == 0)))) in HwlComputeCmaskInfo() 290 pIn->swizzleMode, in HwlComputeCmaskInfo() 387 if (pIn->swizzleMode != ADDR_SW_64KB_Z_X && pIn->swizzleMode != ADDR_SW_64KB_R_X) in HwlComputeDccInfo() 392 …if (m_settings.dccUnsup3DSwDis && IsTex3d(pIn->resourceType) && IsDisplaySwizzle(pIn->swizzleMode)) in HwlComputeDccInfo() 403 ADDR_ASSERT(IsRtOptSwizzle(pIn->swizzleMode)); in HwlComputeDccInfo() 405 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() [all …]
|
/external/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 2433 AddrSwizzleMode swizzleMode; ///< Swizzle Mode for Gfx9 member 2562 AddrSwizzleMode swizzleMode; ///< Swizzle mode for Gfx9 member 2628 AddrSwizzleMode swizzleMode; ///< Swizzle mode for Gfx9 member 2751 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member 2821 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member 2877 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member 2939 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member 3011 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member 3071 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member 3149 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member [all …]
|
/external/mesa3d/src/amd/common/ |
D | ac_surface.c | 151 din.swizzleMode = swizzle_mode; in ac_compute_dcc_retile_tile_indices() 165 addrin.swizzleMode = swizzle_mode; in ac_compute_dcc_retile_tile_indices() 276 addrlib, info, in->bpp, in->swizzleMode, rb_aligned, pipe_aligned); in ac_compute_dcc_retile_map() 278 ac_compute_dcc_retile_tile_indices(addrlib, info, in->bpp, in->swizzleMode, false, false); in ac_compute_dcc_retile_map() 1277 *swizzle_mode = sout.swizzleMode; in gfx9_get_preferred_swizzle_mode() 1380 surf->u.gfx9.stencil.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree() 1389 surf->u.gfx9.surf.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree() 1421 if (in->swizzleMode == ADDR_SW_LINEAR) { in gfx9_compute_miptree() 1432 assert(in->swizzleMode != ADDR_SW_LINEAR); in gfx9_compute_miptree() 1450 hin.swizzleMode = in->swizzleMode; in gfx9_compute_miptree() [all …]
|
/external/mesa3d/src/amd/addrlib/src/ |
D | addrinterface.cpp | 1747 AddrSwizzleMode swizzleMode, in Addr2IsValidDisplaySwizzleMode() argument 1759 in.swizzleMode = swizzleMode; in Addr2IsValidDisplaySwizzleMode()
|