[Mesa-dev] st/mesa: fix mipmap generation bug
maraeo at gmail.com
Mon Dec 27 18:38:24 PST 2010
can this patch go to 7.9? I think it's a useful fix that should be there.
>Author: Brian Paul <brianp at vmware.com>
>Date: Mon Dec 6 11:01:19 2010 -0700
> st/mesa: fix mipmap generation bug
> In st_finalize_texture() we were looking at the st_texture_object::
> lastLevel field instead of the pipe_resource::last_level field to
> determine which resource to store the mipmap in.
> Then, in st_generate_mipmap() we need to call st_finalize_texture() to
> make sure the destination resource is properly allocated.
> These changes fix the broken piglit fbo-generatemipmap-formats test.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev