projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4219e09
)
st/mesa: invalidate the readpix cache in st_indirect_draw_vbo
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 9 Apr 2017 14:03:59 +0000
(16:03 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 20 Apr 2017 18:11:35 +0000
(20:11 +0200)
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/state_tracker/st_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw.c
b/src/mesa/state_tracker/st_draw.c
index 561633cdaf06154687b7ab3204c7e65f12077006..8069f107880240a94ecc1fe3d074da7f90fde50c 100644
(file)
--- 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) {