mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue