summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-11-07 16:24:47 +0100
committerMarek Olšák <[email protected]>2015-11-13 19:54:42 +0100
commit70c40cc9899c1e895004c3e25c4f763af44cd17d (patch)
tree25670a77f4e2c65433460b67f35ab6c050973c7a /src/gallium/drivers/radeonsi
parent12596cfd4cea4cff2bc067876d5ff25c54cdc874 (diff)
gallium/radeon: remove predicate_drawing flag
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_draw.c b/src/gallium/drivers/radeonsi/si_state_draw.c
index ebc01e8e4ae..79e88765d04 100644
--- a/src/gallium/drivers/radeonsi/si_state_draw.c
+++ b/src/gallium/drivers/radeonsi/si_state_draw.c
@@ -457,7 +457,7 @@ static void si_emit_draw_packets(struct si_context *sctx,
{
struct radeon_winsys_cs *cs = sctx->b.gfx.cs;
unsigned sh_base_reg = sctx->shader_userdata.sh_base[PIPE_SHADER_VERTEX];
- bool render_cond_bit = sctx->b.predicate_drawing && !sctx->b.render_cond_force_off;
+ bool render_cond_bit = sctx->b.current_render_cond && !sctx->b.render_cond_force_off;
if (info->count_from_stream_output) {
struct r600_so_target *t =