From ad56dd4e973e181db394fbc68c7f82dfb6f505f8 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 21 Jun 2019 14:26:19 -0700 Subject: panfrost: Enable mipmapping Now the autogeneration of mipmaps is working (via u_blitter), we can finally enable mipmaps! Signed-off-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/pan_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3