Searched refs:mipmapEdge (Results 1 – 1 of 1) sorted by relevance
2438 deUint32 mipmapEdge = std::max(std::max(extent.width, extent.height), extent.depth); in getMipmapCount() local2440 mipmapEdge = std::min(mipmapEdge, extent.width / imageAlignment.x()); in getMipmapCount()2442 mipmapEdge = std::min(mipmapEdge, extent.height / imageAlignment.y()); in getMipmapCount()2444 mipmapEdge = std::min(mipmapEdge, extent.depth / imageAlignment.z()); in getMipmapCount()2445 …return std::min(static_cast<deUint32>(deFloatLog2(static_cast<float>(mipmapEdge))) + 1u, imageForm… in getMipmapCount()