https://bugs.freedesktop.org/show_bug.cgi?id=91656
--- Comment #5 from Daniel Scharrer daniel@constexpr.org --- I can reproduce this on my TAHITI - renders fine with llvmpipe though. Bisected to:
commit c1de7df6d4086070e63369ab0af3950f53a03592 Author: Brian Paul brianp@vmware.com Date: Mon Jun 22 14:04:09 2015 -0600
st/mesa: remove unneeded pipe_surface_release() in st_render_texture()
This caused us to always free the pipe_surface for the renderbuffer. The subsequent call to st_update_renderbuffer_surface() would typically just recreate it. Remove the call to pipe_surface_release() and let st_update_renderbuffer_surface() take care of freeing the old surface if it needs to be replaced (because of change to mipmap level, etc).
This can save quite a few calls to pipe_context::create_surface() and surface_destroy().
Reviewed-by: Marek Olšák marek.olsak@amd.com Reviewed-by: Jose Fonseca jfonseca@vmware.com