From a909210131494a6a131855d7d344b61b81fbf40e Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 9 Aug 2016 00:37:39 +0200 Subject: gallium: add render_condition_enable param to clear_render_target/depth_stencil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Roland Scheidegger Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/r600/r600_blit.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/r600') diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index a6c5b44b86b..327efc20a6e 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -473,7 +473,8 @@ static void r600_clear_render_target(struct pipe_context *ctx, struct pipe_surface *dst, const union pipe_color_union *color, unsigned dstx, unsigned dsty, - unsigned width, unsigned height) + unsigned width, unsigned height, + bool render_condition_enabled) { struct r600_context *rctx = (struct r600_context *)ctx; @@ -489,7 +490,8 @@ static void r600_clear_depth_stencil(struct pipe_context *ctx, double depth, unsigned stencil, unsigned dstx, unsigned dsty, - unsigned width, unsigned height) + unsigned width, unsigned height, + bool render_condition_enabled) { struct r600_context *rctx = (struct r600_context *)ctx; -- cgit v1.2.3