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;