softpipe: (trivial) honor render_condition_enabled for clear_rt/clear_ds

This commit is contained in:
Roland Scheidegger
2016-08-29 18:15:08 +02:00
parent c5d7624e1d
commit f48ccb8c07
+2 -2
View File
@@ -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,