diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-09-06 15:41:35 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-09-10 17:14:15 +0200 |
commit | b409524fef1b02c717b4cc1fef70d5710781f824 (patch) | |
tree | 375cd22fc777a9712e19eabb8909e7a48a45f41a /src/gallium/drivers/radeon/r600_pipe_common.c | |
parent | 60ec8fb448f292b8aac08f74c26da8171b2b6a8f (diff) | |
download | external_mesa3d-b409524fef1b02c717b4cc1fef70d5710781f824.zip external_mesa3d-b409524fef1b02c717b4cc1fef70d5710781f824.tar.gz external_mesa3d-b409524fef1b02c717b4cc1fef70d5710781f824.tar.bz2 |
gallium/radeon: handle PIPE_TRANSFER_FLUSH_EXPLICIT
Basically, do the same thing as for buffer_unmap, but use the explicit range
instead. It's for apps which want to map a whole buffer and mark touched
ranges explicitly.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_pipe_common.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_pipe_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.c b/src/gallium/drivers/radeon/r600_pipe_common.c index 1302b5a..836da76 100644 --- a/src/gallium/drivers/radeon/r600_pipe_common.c +++ b/src/gallium/drivers/radeon/r600_pipe_common.c @@ -231,7 +231,7 @@ bool r600_common_context_init(struct r600_common_context *rctx, rctx->max_db = 4; rctx->b.transfer_map = u_transfer_map_vtbl; - rctx->b.transfer_flush_region = u_default_transfer_flush_region; + rctx->b.transfer_flush_region = u_transfer_flush_region_vtbl; rctx->b.transfer_unmap = u_transfer_unmap_vtbl; rctx->b.transfer_inline_write = u_default_transfer_inline_write; rctx->b.memory_barrier = r600_memory_barrier; |