diff options
author | Marek Olšák <[email protected]> | 2016-03-09 17:03:12 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-03-11 16:07:18 +0100 |
commit | af3454cad58be3df63c7fe6caf9604f651a6ce54 (patch) | |
tree | 7cdc8501123554359c3eae68902c84fcf9fc7ce3 /src/mesa/state_tracker/st_draw.c | |
parent | e502801d9843984233426f1b31e42bf6095d63be (diff) |
st/mesa: remove ST_NEW_MESA flag (v2)
Only used indirectly when checking dirty.st != 0
v2: also update st_cb_compute.c
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 2de6620602d..fdd59a383a9 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -201,7 +201,7 @@ st_draw_vbo(struct gl_context *ctx, st_flush_bitmap_cache(st); /* Validate state. */ - if (st->dirty.st || ctx->NewDriverState) { + if (st->dirty.st || st->dirty.mesa || ctx->NewDriverState) { st_validate_state(st, ST_PIPELINE_RENDER); #if 0 @@ -314,7 +314,7 @@ st_indirect_draw_vbo(struct gl_context *ctx, assert(stride); /* Validate state. */ - if (st->dirty.st || ctx->NewDriverState) { + if (st->dirty.st || st->dirty.mesa || ctx->NewDriverState) { st_validate_state(st, ST_PIPELINE_RENDER); } |