r600g,radeonsi: Preserve existing buffer flags
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 2 Sep 2014 08:52:30 +0000 (17:52 +0900)
committerMichel Dänzer <michel@daenzer.net>
Wed, 3 Sep 2014 03:49:59 +0000 (12:49 +0900)
commit2adf7ee92e19ca978d6dac29fead59f14d033f3e
tree516c8bb40af4bc2e1ad3af700831c9bd8ffbfbb2
parent454aab45ef382c0a3e262c8b417ecc846881c1e9
r600g,radeonsi: Preserve existing buffer flags

The default case was accidentally clearing RADEON_FLAG_CPU_ACCESS from the
previous fall-through cases.

Reported-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_buffer_common.c