diff options
author | Marek Olšák <[email protected]> | 2017-04-09 16:03:59 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-04-20 20:11:35 +0200 |
commit | 7cd6e2df65de9e2f0d77022a64c4e48ca2ebcb33 (patch) | |
tree | 5eb0b2e8f737e9e5b2cbbde061bb6e4da80df8f1 | |
parent | 4219e09343b1e8d7cf0757ee2c9019b78a184e7b (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]>
-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 561633cdaf0..8069f107880 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) { |