aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_compute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_cb_compute.c')
-rw-r--r--src/mesa/state_tracker/st_cb_compute.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_compute.c b/src/mesa/state_tracker/st_cb_compute.c
index 063d750d03a..c057a781026 100644
--- a/src/mesa/state_tracker/st_cb_compute.c
+++ b/src/mesa/state_tracker/st_cb_compute.c
@@ -46,6 +46,7 @@ static void st_dispatch_compute_common(struct gl_context *ctx,
struct pipe_grid_info info = { 0 };
st_flush_bitmap_cache(st);
+ st_invalidate_readpix_cache(st);
if (ctx->NewState)
_mesa_update_state(ctx);