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:
parent
08514a9721
commit
fff624fca4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue