summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-06-21 14:26:19 -0700
committerAlyssa Rosenzweig <[email protected]>2019-06-25 13:39:17 -0700
commitad56dd4e973e181db394fbc68c7f82dfb6f505f8 (patch)
treed831846d270c979ddf3e87c0f1f643665e39f9fe /src
parent5aeffa95175dedc234fb640c188f8ba48b3f8e8c (diff)
panfrost: Enable mipmapping
Now the autogeneration of mipmaps is working (via u_blitter), we can finally enable mipmaps! Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pan_context.c2
1 files changed, 1 insertions, 1 deletions
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;