diff options
author | Marek Olšák <[email protected]> | 2015-11-07 14:45:58 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2015-11-13 19:54:41 +0100 |
commit | 6eff5415e46fb43619b543368fa427334d267a71 (patch) | |
tree | 13e24051fe1265a85d17ec0bf4bdb9159f3b7a11 /src/gallium/drivers/radeon | |
parent | 8dd1ee6ff30fd481dd33de93e5d613d11331c1f6 (diff) |
gallium/radeon: simplify disabling render condition for u_blitter
just disable it by not setting the predication bit
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h b/src/gallium/drivers/radeon/r600_pipe_common.h index 2e3f1547e45..139c377cd6e 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.h +++ b/src/gallium/drivers/radeon/r600_pipe_common.h @@ -420,7 +420,8 @@ struct r600_common_context { struct pipe_query *current_render_cond; unsigned current_render_cond_mode; boolean current_render_cond_cond; - boolean predicate_drawing; + bool predicate_drawing; + bool render_cond_force_off; /* for u_blitter */ /* For context flushing. */ struct pipe_query *saved_render_cond; boolean saved_render_cond_cond; |