Hi Brian,<br><br>can this patch go to 7.9? I think it's a useful fix that should be there.<br><br>>commit cae2bb76c1147d48f75ddd7a058a48d11e72ba03<br>>Author: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>><br>
>Date: Mon Dec 6 11:01:19 2010 -0700<br>><br>> st/mesa: fix mipmap generation bug<br>> <br>> In st_finalize_texture() we were looking at the st_texture_object::<br>> lastLevel field instead of the pipe_resource::last_level field to<br>
> determine which resource to store the mipmap in.<br>> <br>> Then, in st_generate_mipmap() we need to call st_finalize_texture() to<br>> make sure the destination resource is properly allocated.<br>
> <br>> These changes fix the broken piglit fbo-generatemipmap-formats test.<br><br>Best regards<br>Marek<br>