diff options
author | Roland Scheidegger <[email protected]> | 2016-08-29 18:14:49 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2016-08-29 18:14:49 +0200 |
commit | c5d7624e1d94195c775b4f4b58c92553ed52a779 (patch) | |
tree | 2943f16d27e9ef0756fe90446197bde6e751f5a9 /src | |
parent | 4c53267b8f3e79988ea587db071afefc17e4ed8f (diff) |
llvmpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c index 643c4162b03..784db7f7342 100644 --- a/src/gallium/drivers/llvmpipe/lp_surface.c +++ b/src/gallium/drivers/llvmpipe/lp_surface.c @@ -195,7 +195,7 @@ llvmpipe_clear_render_target(struct pipe_context *pipe, { struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); - if (!llvmpipe_check_render_cond(llvmpipe)) + if (render_condition_enabled && !llvmpipe_check_render_cond(llvmpipe)) return; util_clear_render_target(pipe, dst, color, @@ -215,7 +215,7 @@ llvmpipe_clear_depth_stencil(struct pipe_context *pipe, { struct llvmpipe_context *llvmpipe = llvmpipe_context(pipe); - if (!llvmpipe_check_render_cond(llvmpipe)) + if (render_condition_enabled && !llvmpipe_check_render_cond(llvmpipe)) return; util_clear_depth_stencil(pipe, dst, clear_flags, |