summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-11-07 14:45:58 +0100
committerMarek Olšák <[email protected]>2015-11-13 19:54:41 +0100
commit6eff5415e46fb43619b543368fa427334d267a71 (patch)
tree13e24051fe1265a85d17ec0bf4bdb9159f3b7a11 /src/gallium/drivers/radeon
parent8dd1ee6ff30fd481dd33de93e5d613d11331c1f6 (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.h3
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;