diff options
author | Gert Wollny <[email protected]> | 2019-05-24 12:08:26 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-07-18 05:33:59 +0200 |
commit | fff624fca42ae39322e8f82c262e1b2bb33eea79 (patch) | |
tree | 2c6ef6f9f0469ffa860a542f1db792173d3cec84 /src | |
parent | 08514a9721144f877d670091de6e6d946a5e73f8 (diff) |
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 <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_state_surface.c b/src/gallium/drivers/softpipe/sp_state_surface.c index 1a4bf384b2a..dc4756146d7 100644 --- a/src/gallium/drivers/softpipe/sp_state_surface.c +++ b/src/gallium/drivers/softpipe/sp_state_surface.c @@ -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; } |