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:
parent
5aeffa9517
commit
ad56dd4e97
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue