r600g: handle DISCARD_WHOLE_RESOURCE for buffers
authorMarek Olšák <maraeo@gmail.com>
Mon, 2 Apr 2012 04:08:58 +0000 (06:08 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 4 Apr 2012 11:09:47 +0000 (13:09 +0200)
commit82a7fe6f5c93e6787f99124974af0dbcafef5fb1
tree4e1f5084fe369095c6c000cab71c4a4dfab1b5c3
parentc7d0e9ec32edfbb6c77715d51170608deb41f1b7
r600g: handle DISCARD_WHOLE_RESOURCE for buffers

This should prevent stalls and therefore increase perfomance in some cases.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_state_common.c