diff options
author | Roland Scheidegger <[email protected]> | 2016-08-29 18:15:08 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-08-29 18:15:08 +0200 |
commit | f48ccb8c075f18338d44078fa1be81a2e8a46970 (patch) | |
tree | 58d63e6ab82375dd95c0b59d777424affc43e5eb /src/gallium/drivers | |
parent | c5d7624e1d94195c775b4f4b58c92553ed52a779 (diff) |
softpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_surface.c b/src/gallium/drivers/softpipe/sp_surface.c index 643b0609e03..3908411376d 100644 --- a/src/gallium/drivers/softpipe/sp_surface.c +++ b/src/gallium/drivers/softpipe/sp_surface.c @@ -102,7 +102,7 @@ softpipe_clear_render_target(struct pipe_context *pipe, { struct softpipe_context *softpipe = softpipe_context(pipe); - if (!softpipe_check_render_cond(softpipe)) + if (render_condition_enabled && !softpipe_check_render_cond(softpipe)) return; util_clear_render_target(pipe, dst, color, @@ -122,7 +122,7 @@ softpipe_clear_depth_stencil(struct pipe_context *pipe, { struct softpipe_context *softpipe = softpipe_context(pipe); - if (!softpipe_check_render_cond(softpipe)) + if (render_condition_enabled && !softpipe_check_render_cond(softpipe)) return; util_clear_depth_stencil(pipe, dst, clear_flags, |