diff options
author | Marek Olšák <[email protected]> | 2015-11-07 16:24:47 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-11-13 19:54:42 +0100 |
commit | 70c40cc9899c1e895004c3e25c4f763af44cd17d (patch) | |
tree | 25670a77f4e2c65433460b67f35ab6c050973c7a /src/gallium/drivers/r600 | |
parent | 12596cfd4cea4cff2bc067876d5ff25c54cdc874 (diff) |
gallium/radeon: remove predicate_drawing flag
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_state_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c index 28aedffc42d..5cf520899cf 100644 --- a/src/gallium/drivers/r600/r600_state_common.c +++ b/src/gallium/drivers/r600/r600_state_common.c @@ -1478,7 +1478,7 @@ static void r600_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info struct pipe_draw_info info = *dinfo; struct pipe_index_buffer ib = {}; struct radeon_winsys_cs *cs = rctx->b.gfx.cs; - bool render_cond_bit = rctx->b.predicate_drawing && !rctx->b.render_cond_force_off; + bool render_cond_bit = rctx->b.current_render_cond && !rctx->b.render_cond_force_off; uint64_t mask; if (!info.indirect && !info.count && (info.indexed || !info.count_from_stream_output)) { |