diff options
author | Marek Olšák <[email protected]> | 2016-08-09 00:37:39 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-10 01:10:21 +0200 |
commit | a909210131494a6a131855d7d344b61b81fbf40e (patch) | |
tree | a25cc63fd6c7e7905873916bd3ba9002528b6664 /src/gallium/drivers/swr/swr_clear.cpp | |
parent | a7c6993a33e894556e45fc2882ad19f34274d689 (diff) |
gallium: add render_condition_enable param to clear_render_target/depth_stencil
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr/swr_clear.cpp')
-rw-r--r-- | src/gallium/drivers/swr/swr_clear.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/swr_clear.cpp b/src/gallium/drivers/swr/swr_clear.cpp index 103bca99441..4b02dd1fb12 100644 --- a/src/gallium/drivers/swr/swr_clear.cpp +++ b/src/gallium/drivers/swr/swr_clear.cpp @@ -86,7 +86,8 @@ swr_clear(struct pipe_context *pipe, static void swr_clear_render_target(struct pipe_context *pipe, 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) { struct swr_context *ctx = swr_context(pipe); fprintf(stderr, "SWR swr_clear_render_target!\n"); @@ -97,7 +98,8 @@ swr_clear_render_target(struct pipe_context *pipe, struct pipe_surface *ps, static void swr_clear_depth_stencil(struct pipe_context *pipe, 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) { struct swr_context *ctx = swr_context(pipe); fprintf(stderr, "SWR swr_clear_depth_stencil!\n"); |