diff options
author | Marek Olšák <[email protected]> | 2012-09-12 23:37:17 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-09-30 18:57:56 +0200 |
commit | 0b0697e80dd442d7e7cb23641ad8f58f82df120d (patch) | |
tree | 3f842d9000c8c26fc3812f08276846af4772b579 /src/gallium/drivers/i915/i915_surface.c | |
parent | 84d2f2295e8274c1b3676b59fedfc173836d378e (diff) |
gallium/u_blitter: add gallium blit implementation
The original blit function is extended and the otAher functions reuse it.
Tested-by: Michel Dänzer <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_surface.c')
-rw-r--r-- | src/gallium/drivers/i915/i915_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/i915/i915_surface.c b/src/gallium/drivers/i915/i915_surface.c index 5f0783f0305..99837fe7658 100644 --- a/src/gallium/drivers/i915/i915_surface.c +++ b/src/gallium/drivers/i915/i915_surface.c @@ -86,8 +86,8 @@ i915_surface_copy_render(struct pipe_context *pipe, i915->saved_nr_sampler_views, i915->saved_sampler_views); - util_blitter_copy_texture(i915->blitter, dst, dst_level, ~0, dstx, dsty, dstz, - src, src_level, 0, src_box); + util_blitter_copy_texture(i915->blitter, dst, dst_level, dstx, dsty, dstz, + src, src_level, src_box, PIPE_MASK_RGBAZS, TRUE); } static void |