gallium/radeon: reset valid_buffer_range on PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 11 Jan 2016 00:54:44 +0000 (19:54 -0500)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Thu, 14 Jan 2016 14:40:00 +0000 (09:40 -0500)
commit08c71740ad609b26477b4062bb1794bb322e8b43
tree74090b6d1fc63c9e7a1fa784a3c7be8c2785d856
parent70e66c57bbff930f7caa8606e75cfc91417bbc67
gallium/radeon: reset valid_buffer_range on PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE

This accomodates a streaming pattern where the discard flag is set when the
application wraps back to the beginning of the buffer.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c