Mesa (master): llvmpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds
Roland Scheidegger
sroland at kemper.freedesktop.org
Mon Aug 29 16:21:20 UTC 2016
Module: Mesa
Branch: master
Commit: c5d7624e1d94195c775b4f4b58c92553ed52a779
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c5d7624e1d94195c775b4f4b58c92553ed52a779
Author: Roland Scheidegger <sroland at vmware.com>
Date: Mon Aug 29 18:14:49 2016 +0200
llvmpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds
---
src/gallium/drivers/llvmpipe/lp_surface.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_surface.c b/src/gallium/drivers/llvmpipe/lp_surface.c
index 643c416..784db7f 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,
More information about the mesa-commit
mailing list