gallium/radeon: handle PIPE_TRANSFER_FLUSH_EXPLICIT
authorMarek Olšák <marek.olsak@amd.com>
Sun, 6 Sep 2015 13:41:35 +0000 (15:41 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 10 Sep 2015 15:14:15 +0000 (17:14 +0200)
commitb409524fef1b02c717b4cc1fef70d5710781f824
tree375cd22fc777a9712e19eabb8909e7a48a45f41a
parent60ec8fb448f292b8aac08f74c26da8171b2b6a8f
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>
src/gallium/drivers/radeon/r600_buffer_common.c
src/gallium/drivers/radeon/r600_pipe_common.c
src/gallium/drivers/radeon/r600_texture.c