radeonsi: handle PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE
authorMarek Olšák <marek.olsak@amd.com>
Wed, 27 Nov 2013 23:20:47 +0000 (00:20 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 12 Dec 2013 17:34:11 +0000 (18:34 +0100)
commit32fd445daa9a7ba4072c0f0ba851f06b8574e9f8
treef8b20209c3bfe9a4ac828d16392c71e6867d6ad4
parentcc2c1002747405ef23bf6cd697bfb1cb7a1e68e8
radeonsi: handle PIPE_TRANSFER_DISCARD_WHOLE_RESOURCE

which can come from glBufferData and glMapBufferRange.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/r600_buffer.c
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.h