panfrost: Enable mipmapping

Now the autogeneration of mipmaps is working (via u_blitter), we can
finally enable mipmaps!

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
This commit is contained in:
Alyssa Rosenzweig 2019-06-21 14:26:19 -07:00
parent 5aeffa9517
commit ad56dd4e97
1 changed files with 1 additions and 1 deletions

View File

@ -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;