mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
st/mesa: invalidate the readpix cache in st_indirect_draw_vbo
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 7cd6e2df65)
This commit is contained in:
parent
0022df96be
commit
7ab11a9822
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue