diff options
author | Marek Olšák <[email protected]> | 2012-02-26 20:37:43 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-07-18 07:16:30 +0200 |
commit | 99c65bac341f808279a8a847158ace4f058aa72e (patch) | |
tree | 8ed3fe5a58c3511b0a34a4a8520268d09a7c91e6 /src/gallium/drivers/r600/r600_blit.c | |
parent | 8ac9801669c68c33d9dd35a57baf985a4be49eff (diff) |
r600g: implement wait-free buffer transfer for DISCARD_RANGE
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_blit.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 829d979d2e4..8cdfae8b3f0 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -259,11 +259,9 @@ static void r600_clear_depth_stencil(struct pipe_context *ctx, r600_blitter_end(ctx); } -static void r600_copy_buffer(struct pipe_context *ctx, - struct pipe_resource *dst, - unsigned dstx, - struct pipe_resource *src, - const struct pipe_box *src_box) +void r600_copy_buffer(struct pipe_context *ctx, struct + pipe_resource *dst, unsigned dstx, + struct pipe_resource *src, const struct pipe_box *src_box) { struct r600_context *rctx = (struct r600_context*)ctx; |