softpipe: Also mark textures as dirty when updating the framebuffer state
authorGert Wollny <gert.wollny@collabora.com>
Fri, 24 May 2019 10:08:26 +0000 (12:08 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Thu, 18 Jul 2019 03:33:59 +0000 (05:33 +0200)
commitfff624fca42ae39322e8f82c262e1b2bb33eea79
tree2c6ef6f9f0469ffa860a542f1db792173d3cec84
parent08514a9721144f877d670091de6e6d946a5e73f8
softpipe: Also mark textures as dirty when updating the framebuffer state

At this point all the draw caches are flushed to the old attached textures,
so the read caches of these textures will need to be updated too.

Fixes:
   dEQP-GLES3.functional.fbo.color.repeated_clear.sample.tex2d.*

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_state_surface.c