st/mesa: flush bitmap cache before texture functions
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 9 Jun 2016 10:22:31 +0000 (12:22 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 21 Jun 2016 08:54:08 +0000 (10:54 +0200)
commite7fff3cfe156e13198107e5e76a77fb79ed02173
tree811851033ee0457521796df7d9df3e0501e509f5
parentc542b7e43d3a504456518c9f407e21c4e7e5fa88
st/mesa: flush bitmap cache before texture functions

As far as I can tell, a sequence of glBitmap followed by texture functions
that refer to a texture bound as the framebuffer is well within what should
be allowed.

Found by inspection.

Cc: 11.2 12.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_gen_mipmap.c