iris/clear: Pass on render_condition_enabled.
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 15 Feb 2019 23:23:56 +0000 (15:23 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_clear.c

index e913dc63e1aaf9f879afabcb0cb5cf2f311847d7..a7d8228ee5a8c30bbf3fcc4693b5d268d8d71054 100644 (file)
@@ -299,7 +299,8 @@ iris_clear_render_target(struct pipe_context *ctx,
    /* pipe_color_union and isl_color_value are interchangeable */
    union isl_color_value *color = (void *) p_color;
 
-   clear_color(ice, psurf->texture, psurf->u.tex.level, &box, true,
+   clear_color(ice, psurf->texture, psurf->u.tex.level, &box,
+               render_condition_enabled,
                isurf->view.format, *color);
 }
 
@@ -330,7 +331,8 @@ iris_clear_depth_stencil(struct pipe_context *ctx,
 
    assert(util_format_is_depth_or_stencil(psurf->texture->format));
 
-   clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box, true,
+   clear_depth_stencil(ice, psurf->texture, psurf->u.tex.level, &box,
+                       render_condition_enabled,
                        flags & PIPE_CLEAR_DEPTH, flags & PIPE_CLEAR_STENCIL,
                        depth, stencil);
 }