From: Alyssa Rosenzweig Date: Fri, 21 Jun 2019 21:26:19 +0000 (-0700) Subject: panfrost: Enable mipmapping X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad56dd4e973e181db394fbc68c7f82dfb6f505f8;p=mesa.git panfrost: Enable mipmapping Now the autogeneration of mipmaps is working (via u_blitter), we can finally enable mipmaps! Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/pan_context.c b/src/gallium/drivers/panfrost/pan_context.c index a509f3be28b..208791b5dd3 100644 --- a/src/gallium/drivers/panfrost/pan_context.c +++ b/src/gallium/drivers/panfrost/pan_context.c @@ -2260,7 +2260,7 @@ panfrost_create_sampler_view( .swizzle = panfrost_translate_swizzle_4(user_swizzle) }; - //texture_descriptor.nr_mipmap_levels = last_level - first_level; + texture_descriptor.nr_mipmap_levels = last_level - first_level; so->hw = texture_descriptor;