summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2016-08-09 00:37:39 +0200
committerMarek Olšák <marek.olsak@amd.com>2016-08-10 01:10:21 +0200
commita909210131494a6a131855d7d344b61b81fbf40e (patch)
treea25cc63fd6c7e7905873916bd3ba9002528b6664 /src/gallium/drivers/rbug
parenta7c6993a33e894556e45fc2882ad19f34274d689 (diff)
downloadexternal_mesa3d-a909210131494a6a131855d7d344b61b81fbf40e.zip
external_mesa3d-a909210131494a6a131855d7d344b61b81fbf40e.tar.gz
external_mesa3d-a909210131494a6a131855d7d344b61b81fbf40e.tar.bz2
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/rbug')
-rw-r--r--src/gallium/drivers/rbug/rbug_context.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c
index 83914d3..3c2dc69 100644
--- a/src/gallium/drivers/rbug/rbug_context.c
+++ b/src/gallium/drivers/rbug/rbug_context.c
@@ -952,7 +952,8 @@ rbug_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 rbug_context *rb_pipe = rbug_context(_pipe);
struct rbug_surface *rb_surface_dst = rbug_surface(_dst);
@@ -966,7 +967,8 @@ rbug_clear_render_target(struct pipe_context *_pipe,
dstx,
dsty,
width,
- height);
+ height,
+ render_condition_enabled);
pipe_mutex_unlock(rb_pipe->call_mutex);
}
@@ -977,7 +979,8 @@ rbug_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 rbug_context *rb_pipe = rbug_context(_pipe);
struct rbug_surface *rb_surface_dst = rbug_surface(_dst);
@@ -993,7 +996,8 @@ rbug_clear_depth_stencil(struct pipe_context *_pipe,
dstx,
dsty,
width,
- height);
+ height,
+ render_condition_enabled);
pipe_mutex_unlock(rb_pipe->call_mutex);
}