Searched refs:mipDepth (Results 1 – 6 of 6) sorted by relevance
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 454 UINT_32 mipDepth = mip0Depth; in GetMetaMipInfo() local 469 mipDepth = PowTwoAlign(mipDepth, pMetaBlkDim->d); in GetMetaMipInfo() 477 pInfo[mip].depth = dataThick ? mipDepth : 1; in GetMetaMipInfo() 490 mipCoord.d += mipDepth; in GetMetaMipInfo() 516 mipDepth = Max(mipDepth >> 1, 1u); in GetMetaMipInfo() 520 ((dataThick == FALSE) || (mipDepth <= tailDepth))); in GetMetaMipInfo() 4246 UINT_32 mipDepth = IsTex3d(resourceType) ? mip0Depth : 1; in GetMipChainInfo() local 4264 mipSize = mipPitch * mipHeight * mipDepth * (bpp >> 3); in GetMipChainInfo() 4279 mipDepth = Block256_3dZ[index].d; in GetMipChainInfo() 4294 mipPitch, mipHeight, mipDepth); in GetMipChainInfo() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/ |
D | ResourceManager11.cpp | 43 unsigned int mipDepth = std::max(depth >> level, 1u); in ComputeMippedMemoryUsage() local 44 sizeSum += static_cast<uint64_t>(mipWidth * mipHeight * mipDepth) * pixelSize; in ComputeMippedMemoryUsage()
|
/external/angle/src/image_util/ |
D | generatemip.inc | 259 size_t mipDepth = std::max<size_t>(1, sourceDepth >> 1); 265 mipWidth, mipHeight, mipDepth, destData, destRowPitch, destDepthPitch);
|
/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 3296 UINT_32 mipWidth, mipHeight, mipDepth; in ComputeSurfaceInfoMacroTiled() local 3298 … GetMipSize(mip0Width, mip0Height, mip0Depth, i, &mipWidth, &mipHeight, &mipDepth); in ComputeSurfaceInfoMacroTiled() 3310 const UINT_32 depth = PowTwoAlign(mipDepth, pOut->blockSlices); in ComputeSurfaceInfoMacroTiled() 4341 const UINT_32 mipDepth = (pIn->resourceType == ADDR_RSRC_TEX_3D) ? pIn->numSlices : 1; in HwlComputeSurfaceInfoLinear() local 4360 pOut->pMipInfo[i].depth = mipDepth; in HwlComputeSurfaceInfoLinear() 4381 pOut->pMipInfo[0].depth = mipDepth; in HwlComputeSurfaceInfoLinear()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | TextureVk.cpp | 3529 size_t mipDepth = std::max<size_t>(1, previousLevelDepth >> 1); in generateMipmapLevelsWithCPU() local 3536 size_t mipAllocationSize = destDepthPitch * mipDepth; in generateMipmapLevelsWithCPU() 3538 static_cast<int>(mipDepth)); in generateMipmapLevelsWithCPU() 3553 previousLevelDepth = mipDepth; in generateMipmapLevelsWithCPU()
|
D | vk_helpers.cpp | 7047 int32_t mipDepth = mExtents.depth; in generateMipmapsWithBlit() local 7068 int32_t nextMipDepth = std::max<int32_t>(1, mipDepth >> 1); in generateMipmapsWithBlit() 7083 blit.srcOffsets[1] = {mipWidth, mipHeight, mipDepth}; in generateMipmapsWithBlit() 7100 mipDepth = nextMipDepth; in generateMipmapsWithBlit()
|