Home
last modified time | relevance | path

Searched refs:numFrags (Results 1 – 10 of 10) sorted by relevance

/external/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h562 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
693 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
781 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
1294 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
1376 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
1451 UINT_32 numFrags; ///< Number of fragments member
2097 UINT_32 numFrags; ///< Number of color fragments member
2221 UINT_32 numFrags; ///< Number of fragments, member
2442 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
2571 UINT_32 numFrags; ///< Number of fragments, leave it zero or the same as member
[all …]
/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib.h342 static UINT_32 GetNumFragments(UINT_32 numSamples, UINT_32 numFrags) in GetNumFragments() argument
344 return (numFrags != 0) ? numFrags : Max(1u, numSamples); in GetNumFragments()
Daddrlib2.cpp185 localIn.numFrags = (localIn.numFrags == 0) ? localIn.numSamples : pIn->numFrags; in ComputeSurfaceInfo()
303 if (localIn.flags.needEquation && (Log2(localIn.numFrags) == 0)) in ComputeSurfaceInfo()
358 localIn.numFrags = Max(pIn->numFrags, 1u); in ComputeSurfaceAddrFromCoord()
654 ((pIn->numSamples > 0) || (pIn->numFrags > 0)); in ComputeFmaskInfo()
681 localIn.bpp = GetFmaskBpp(pIn->numSamples, pIn->numFrags); in ComputeFmaskInfo()
683 localIn.numFrags = 1; in ComputeFmaskInfo()
1127 BOOL_32 valid = (pIn->numSamples <= 1) && (pIn->numFrags <= 1) && (pIn->pipeBankXor == 0); in ComputeSurfaceAddrFromCoordLinear()
1218 BOOL_32 valid = (pIn->numSamples <= 1) && (pIn->numFrags <= 1); in ComputeSurfaceCoordFromAddrLinear()
Daddrlib1.cpp302 UINT_32 numSamples = GetNumFragments(localIn.numSamples, localIn.numFrags); in ComputeSurfaceInfo()
475 UINT_32 numSamples = GetNumFragments(pIn->numSamples, pIn->numFrags); in ComputeSurfaceAddrFromCoord()
555 UINT_32 numSamples = GetNumFragments(pIn->numSamples, pIn->numFrags); in ComputeSurfaceCoordFromAddr()
1125 pIn->numFrags, &tileInfo); in GetMacroModeIndex()
3976 UINT_32 numFrags = pIn->numFrags; in ComputePrtInfo() local
3977 ADDR_ASSERT(numFrags <= 8); in ComputePrtInfo()
4026 if (numFrags == 2) in ComputePrtInfo()
4030 else if (numFrags == 4) in ComputePrtInfo()
4035 else if (numFrags == 8) in ComputePrtInfo()
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp575 UINT_32 numFrags = Max(pIn->numFrags, 1u); in HwlComputeDccInfo() local
578 minMetaBlkSize /= numFrags; in HwlComputeDccInfo()
637 if (numFrags > m_maxCompFrag) in HwlComputeDccInfo()
639 sizeAlign *= (numFrags / m_maxCompFrag); in HwlComputeDccInfo()
648 numCompressBlkPerMetaBlk * numFrags; in HwlComputeDccInfo()
663 pOut->metaBlkSize = numCompressBlkPerMetaBlk * numFrags; in HwlComputeDccInfo()
667 pOut->metaBlkNumPerSlice * numCompressBlkPerMetaBlk * Min(numFrags, m_maxCompFrag); in HwlComputeDccInfo()
780 UINT_32 fmaskBpp = GetFmaskBpp(pIn->numSamples, pIn->numFrags); in HwlComputeCmaskAddrFromCoord()
989 UINT_32 numSamplesLog2 = Log2(pIn->numFrags); in HwlComputeDccAddrFromCoord()
2992 … GetFmaskBpp(pIn->numSamples, pIn->numFrags) : GetElemLib()->GetBitsPerPixel(pIn->format); in HwlComputePipeBankXor()
[all …]
/external/mesa3d/src/amd/common/
Dac_surface.c156 din.numFrags = 1; in ac_compute_dcc_retile_tile_indices()
170 addrin.numFrags = 1; in ac_compute_dcc_retile_tile_indices()
254 assert(in->numFrags == 1 && in->numSlices == 1 && in->numMipLevels == 1); in ac_compute_dcc_retile_map()
909 AddrDccIn.numSamples = AddrSurfInfoIn.numFrags = MAX2(1, config->info.storage_samples); in gfx6_compute_surface()
1131 fin.numFrags = AddrSurfInfoIn.numFrags; in gfx6_compute_surface()
1252 sin.numFrags = in->numFrags; in gfx9_get_preferred_swizzle_mode()
1485 xin.numFrags = in->numFrags; in gfx9_compute_miptree()
1517 din.numFrags = in->numFrags; in gfx9_compute_miptree()
1589 assert(din.numFrags == 1); in gfx9_compute_miptree()
1661 addrin.numFrags = 1; in gfx9_compute_miptree()
[all …]
/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp415 const UINT_32 numFragLog2 = Log2(Max(pIn->numFrags, 1u)); in HwlComputeDccInfo()
538 const UINT_32 fmaskBpp = GetFmaskBpp(pIn->numSamples, pIn->numFrags); in HwlComputeCmaskAddrFromCoord()
679 (pIn->numFrags > 1) || in HwlComputeDccAddrFromCoord()
2200 …if ((pIn->bpp == 0) || (pIn->bpp > 128) || (pIn->width == 0) || (pIn->numFrags > 8) || (pIn->numSa… in ValidateNonSwModeParams()
2215 const BOOL_32 msaa = (pIn->numFrags > 1); in ValidateNonSwModeParams()
2289 const BOOL_32 msaa = (pIn->numFrags > 1); in ValidateSwModeParams()
2305 if ((pIn->numFrags > 1) && in ValidateSwModeParams()
2306 (GetBlockSize(swizzle) < (m_pipeInterleaveBytes * pIn->numFrags))) in ValidateSwModeParams()
2504 const UINT_32 fmaskBpp = GetFmaskBpp(pIn->numSamples, pIn->numFrags); in HwlGetPreferredSurfaceSetting()
2590 const UINT_32 numFrags = (pIn->numFrags == 0) ? numSamples : pIn->numFrags; in HwlGetPreferredSurfaceSetting() local
[all …]
/external/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.cpp93 UINT_32 numFrags = ((pIn->numFrags == 0) ? numSamples : pIn->numFrags); in DispatchComputeSurfaceInfo() local
113 if (numFrags != numSamples) // This means EQAA in DispatchComputeSurfaceInfo()
116 numSamples = numFrags; in DispatchComputeSurfaceInfo()
1183 UINT_32 numSamples = (pIn->numFrags == 0) ? pIn->numSamples : pIn->numFrags; in HwlGetAlignmentInfoMacroTiled()
1322 UINT_32 numFrags = ((pIn->numFrags == 0) ? numSamples : pIn->numFrags); in DispatchComputeSurfaceAddrFromCoord() local
1340 if (numFrags != numSamples) in DispatchComputeSurfaceAddrFromCoord()
1342 numSamples = numFrags; in DispatchComputeSurfaceAddrFromCoord()
2181 UINT_32 numFrags = ((pIn->numFrags == 0) ? numSamples : pIn->numFrags); in DispatchComputeSurfaceCoordFromAddr() local
2202 if (numFrags != numSamples) in DispatchComputeSurfaceCoordFromAddr()
2204 numSamples = numFrags; in DispatchComputeSurfaceCoordFromAddr()
[all …]
Dsiaddrlib.cpp3229 UINT_32 numFrags = GetNumFragments(numSamples, pIn->numFrags); in HwlComputeFmaskBits() local
3232 if (numFrags != numSamples) // EQAA in HwlComputeFmaskBits()
3234 ADDR_ASSERT(numFrags <= 8); in HwlComputeFmaskBits()
3238 if (numFrags == 1) in HwlComputeFmaskBits()
3243 else if (numFrags == 2) in HwlComputeFmaskBits()
3250 else if (numFrags == 4) in HwlComputeFmaskBits()
3267 if (numFrags == 1) in HwlComputeFmaskBits()
3272 else if (numFrags == 2) in HwlComputeFmaskBits()
3279 else if (numFrags == 4) in HwlComputeFmaskBits()
Dciaddrlib.cpp816 UINT_32 numFrags = pIn->numFrags == 0 ? numSamples : pIn->numFrags; in HwlComputeFmaskInfo() local
818 UINT_32 bpp = QLog2(numFrags); in HwlComputeFmaskInfo()
821 if (numSamples > numFrags) in HwlComputeFmaskInfo()