diff options
author | Marek Olšák <[email protected]> | 2017-04-09 16:03:59 +0200 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2017-04-26 12:34:24 +0300 |
commit | 7ab11a982220762d2f7b29f8aa20af0f3a169126 (patch) | |
tree | 0fad4caa80737840420065131f6e70dcde0e7c85 /src/mesa/state_tracker | |
parent | 0022df96be135bbdcb00638a38b13046cee76660 (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)
Diffstat (limited to 'src/mesa/state_tracker')
-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 c1a1d2d1419..01cd9fd0688 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -301,6 +301,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) { |