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>
This commit is contained in:
Gert Wollny 2019-05-24 12:08:26 +02:00
parent 08514a9721
commit fff624fca4
1 changed files with 1 additions and 1 deletions

View File

@ -97,5 +97,5 @@ softpipe_set_framebuffer_state(struct pipe_context *pipe,
sp->framebuffer.samples = fb->samples;
sp->framebuffer.layers = fb->layers;
sp->dirty |= SP_NEW_FRAMEBUFFER;
sp->dirty |= SP_NEW_FRAMEBUFFER | SP_NEW_TEXTURE;
}