diff options
author | Marek Olšák <[email protected]> | 2017-04-09 16:03:59 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-04-24 13:11:14 +0100 |
commit | 29fa5b6e1c02f443803710172b63bdc04a4b3e0c (patch) | |
tree | 862fbffd03f766233255ae1de7b407c94bab4849 | |
parent | 4e7e903bb39fdd22dea01b410e9ae390c58777ac (diff) |
st/mesa: invalidate the readpix cache in st_indirect_draw_vbo
Cc: <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
(cherry picked from commit 7cd6e2df65de9e2f0d77022a64c4e48ca2ebcb33)
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index f04b6c2f163..eb8ac2e6bbc 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -282,6 +282,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) { |