Sure, go ahead and cherry-pick it. I think it's on the 7.10 branch already.
-Brian On Mon, Dec 27, 2010 at 7:38 PM, Marek Olšák <mar...@gmail.com> wrote: > Hi Brian, > > can this patch go to 7.9? I think it's a useful fix that should be there. > >>commit cae2bb76c1147d48f75ddd7a058a48d11e72ba03 >>Author: Brian Paul <bri...@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. > > Best regards > Marek > > _______________________________________________ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev > > _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev