From: Marek Olšák Date: Sun, 9 Apr 2017 14:03:59 +0000 (+0200) Subject: st/mesa: invalidate the readpix cache in st_indirect_draw_vbo X-Git-Tag: upstream/18.1.0~10571 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cd6e2df65de9e2f0d77022a64c4e48ca2ebcb33;p=platform%2Fupstream%2Fmesa.git st/mesa: invalidate the readpix cache in st_indirect_draw_vbo Cc: Reviewed-by: Ilia Mirkin Reviewed-by: Brian Paul --- diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 561633c..8069f10 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -274,6 +274,8 @@ st_indirect_draw_vbo(struct gl_context *ctx, assert(ctx->NewState == 0x0); assert(stride); + st_invalidate_readpix_cache(st); + /* Validate state. */ if ((st->dirty | ctx->NewDriverState) & ST_PIPELINE_RENDER_STATE_MASK || st->gfx_shaders_may_be_dirty) {