diff options
author | Lauri Kasanen <cand@gmx.com> | 2011-08-12 10:58:58 +0300 |
---|---|---|
committer | Lauri Kasanen <cand@gmx.com> | 2011-08-12 11:03:05 +0300 |
commit | 56816a30b58dc48e968098ac46426126f74a132f (patch) | |
tree | a20b3d2c4b5cbb15fc065946d84ff8e0a1aeddc1 | |
parent | 5ed087fa89994c26f01863295ceaa15f19aea3d7 (diff) |
pp/mlaa: Add clears for good measure.e350bug
-rw-r--r-- | src/gallium/auxiliary/postprocess/pp_mlaa.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_mlaa.c b/src/gallium/auxiliary/postprocess/pp_mlaa.c index c477ee218c..f15a3bfda9 100644 --- a/src/gallium/auxiliary/postprocess/pp_mlaa.c +++ b/src/gallium/auxiliary/postprocess/pp_mlaa.c @@ -102,6 +102,7 @@ static void pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, pp_filter_setup_out(p, ppq->inner_tmp[0]); pp_filter_set_fb(p); + p->pipe->clear(p->pipe, PIPE_CLEAR_COLOR, p->clear_color, 0, 0); pp_filter_misc_state(p); /* cso_set_depth_stencil_alpha(p->cso, &mstencil); p->pipe->clear(p->pipe, PIPE_CLEAR_STENCIL, p->clear_color, 0, 0); @@ -132,6 +133,7 @@ static void pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, arr[1] = arr[2] = p->pipe->create_sampler_view(p->pipe, ppq->inner_tmp[0], &v_tmp); pp_filter_set_fb(p); + p->pipe->clear(p->pipe, PIPE_CLEAR_COLOR, p->clear_color, 0, 0); cso_single_sampler(p->cso, 0, &p->sampler_point); cso_single_sampler(p->cso, 1, &p->sampler_point); |