st/mesa: invalidate readpixels cache
[mesa.git] / src / mesa / state_tracker / st_cb_compute.c
index 063d750d03a89431ac8cbd80603b4cf5bbce164b..c057a781026697b0e055215db27e01d11fb97f5d 100644 (file)
@@ -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);