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/auxiliary/vl | |
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/auxiliary/vl')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_bicubic_filter.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/vl/vl_compositor.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/vl/vl_bicubic_filter.c b/src/gallium/auxiliary/vl/vl_bicubic_filter.c index 51a0019119a..0364d432687 100644 --- a/src/gallium/auxiliary/vl/vl_bicubic_filter.c +++ b/src/gallium/auxiliary/vl/vl_bicubic_filter.c @@ -440,7 +440,7 @@ vl_bicubic_filter_render(struct vl_bicubic_filter *filter, filter->pipe->set_scissor_states(filter->pipe, 0, 1, &scissor); filter->pipe->clear_render_target(filter->pipe, dst, &clear_color, - 0, 0, dst->width, dst->height); + 0, 0, dst->width, dst->height, false); pipe_set_constant_buffer(filter->pipe, PIPE_SHADER_FRAGMENT, 0, surface_size); filter->pipe->bind_rasterizer_state(filter->pipe, filter->rs_state); filter->pipe->bind_blend_state(filter->pipe, filter->blend); diff --git a/src/gallium/auxiliary/vl/vl_compositor.c b/src/gallium/auxiliary/vl/vl_compositor.c index f7517f33e83..03a0a6453bd 100644 --- a/src/gallium/auxiliary/vl/vl_compositor.c +++ b/src/gallium/auxiliary/vl/vl_compositor.c @@ -1168,7 +1168,7 @@ vl_compositor_render(struct vl_compositor_state *s, (dirty_area->x0 < dirty_area->x1 || dirty_area->y0 < dirty_area->y1)) { c->pipe->clear_render_target(c->pipe, dst_surface, &s->clear_color, - 0, 0, dst_surface->width, dst_surface->height); + 0, 0, dst_surface->width, dst_surface->height, false); dirty_area->x0 = dirty_area->y0 = MAX_DIRTY; dirty_area->x1 = dirty_area->y1 = MIN_DIRTY; } |