diff options
author | Rafael Antognolli <[email protected]> | 2019-02-15 15:23:56 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:12 -0800 |
commit | 36138bb7fcc2d98cb77d7d084052cf48ffcd84f0 (patch) | |
tree | 24ac1e9eb146ae48284053907a75aa1d8e48fa7c /src/gallium/drivers | |
parent | 8190165d135f8c6cfb347a1613a0ceb0bcee7e9e (diff) |
iris/clear: Pass on render_condition_enabled.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/iris/iris_clear.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_clear.c b/src/gallium/drivers/iris/iris_clear.c index e913dc63e1a..a7d8228ee5a 100644 --- a/src/gallium/drivers/iris/iris_clear.c +++ b/src/gallium/drivers/iris/iris_clear.c @@ -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); } |