diff options
author | Marek Olšák <marek.olsak@amd.com> | 2016-08-09 00:37:39 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2016-08-10 01:10:21 +0200 |
commit | a909210131494a6a131855d7d344b61b81fbf40e (patch) | |
tree | a25cc63fd6c7e7905873916bd3ba9002528b6664 /src/gallium/drivers/softpipe/sp_surface.c | |
parent | a7c6993a33e894556e45fc2882ad19f34274d689 (diff) |
gallium: add render_condition_enable param to clear_render_target/depth_stencil
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_surface.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_surface.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_surface.c b/src/gallium/drivers/softpipe/sp_surface.c index e2ecbdf2b01..643b0609e03 100644 --- a/src/gallium/drivers/softpipe/sp_surface.c +++ b/src/gallium/drivers/softpipe/sp_surface.c @@ -97,7 +97,8 @@ softpipe_clear_render_target(struct pipe_context *pipe, 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 softpipe_context *softpipe = softpipe_context(pipe); @@ -116,7 +117,8 @@ softpipe_clear_depth_stencil(struct pipe_context *pipe, double depth, unsigned stencil, unsigned dstx, unsigned dsty, - unsigned width, unsigned height) + unsigned width, unsigned height, + bool render_condition_enabled) { struct softpipe_context *softpipe = softpipe_context(pipe); |