diff options
author | Marek Olšák <[email protected]> | 2012-07-09 01:20:11 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-07-12 02:08:30 +0200 |
commit | 24e0a2633512afa3208969520b9e29a8b974275d (patch) | |
tree | f9413a0b07fd832cd83e22a25bd09f1241e86760 /src/gallium/auxiliary/postprocess | |
parent | 3f13b5da1510bff8ceaf6718e4b21936d3180376 (diff) |
gallium/u_blit: drop not-very-useful wrapper around util_blit_pixels_writemask
just rename it to util_blit_pixels
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/postprocess')
-rw-r--r-- | src/gallium/auxiliary/postprocess/pp_mlaa.c | 3 | ||||
-rw-r--r-- | src/gallium/auxiliary/postprocess/pp_run.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/postprocess/pp_mlaa.c b/src/gallium/auxiliary/postprocess/pp_mlaa.c index b61cbaafb5e..80db86227ff 100644 --- a/src/gallium/auxiliary/postprocess/pp_mlaa.c +++ b/src/gallium/auxiliary/postprocess/pp_mlaa.c @@ -178,7 +178,8 @@ pp_jimenezmlaa_run(struct pp_queue_t *ppq, struct pipe_resource *in, /* Blit the input to the output */ util_blit_pixels(p->blitctx, in, 0, 0, 0, w, h, 0, p->framebuffer.cbufs[0], - 0, 0, w, h, 0, PIPE_TEX_MIPFILTER_NEAREST); + 0, 0, w, h, 0, PIPE_TEX_MIPFILTER_NEAREST, + TGSI_WRITEMASK_XYZW); u_sampler_view_default_template(&v_tmp, in, in->format); arr[0] = p->pipe->create_sampler_view(p->pipe, in, &v_tmp); diff --git a/src/gallium/auxiliary/postprocess/pp_run.c b/src/gallium/auxiliary/postprocess/pp_run.c index 89b88a5214c..9d0bfdf81ff 100644 --- a/src/gallium/auxiliary/postprocess/pp_run.c +++ b/src/gallium/auxiliary/postprocess/pp_run.c @@ -59,7 +59,8 @@ pp_run(struct pp_queue_t *ppq, struct pipe_resource *in, util_blit_pixels(ppq->p->blitctx, in, 0, 0, 0, w, h, 0, ppq->tmps[0], - 0, 0, w, h, 0, PIPE_TEX_MIPFILTER_NEAREST); + 0, 0, w, h, 0, PIPE_TEX_MIPFILTER_NEAREST, + TGSI_WRITEMASK_XYZW); in = ppq->tmp[0]; } |