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/vc4/vc4_draw.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/vc4/vc4_draw.c') diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c index cf3f5e0009e..773caf785ec 100644 --- a/src/gallium/drivers/vc4/vc4_draw.c +++ b/src/gallium/drivers/vc4/vc4_draw.c @@ -497,7 +497,8 @@ vc4_clear(struct pipe_context *pctx, unsigned buffers, static void vc4_clear_render_target(struct pipe_context *pctx, struct pipe_surface *ps, const union pipe_color_union *color, - unsigned x, unsigned y, unsigned w, unsigned h) + unsigned x, unsigned y, unsigned w, unsigned h, + bool render_condition_enabled) { fprintf(stderr, "unimpl: clear RT\n"); } @@ -505,7 +506,8 @@ vc4_clear_render_target(struct pipe_context *pctx, struct pipe_surface *ps, static void vc4_clear_depth_stencil(struct pipe_context *pctx, struct pipe_surface *ps, unsigned buffers, double depth, unsigned stencil, - unsigned x, unsigned y, unsigned w, unsigned h) + unsigned x, unsigned y, unsigned w, unsigned h, + bool render_condition_enabled) { fprintf(stderr, "unimpl: clear DS\n"); } -- cgit v1.2.3