r600g: don't flush depth textures set as colorbuffers
authorMarek Olšák <maraeo@gmail.com>
Sun, 8 Jul 2012 01:10:37 +0000 (03:10 +0200)
committerMarek Olšák <maraeo@gmail.com>
Thu, 12 Jul 2012 00:08:31 +0000 (02:08 +0200)
commitfe1fd675565231b49d3ac53d0b4bec39d8bc6781
tree42bf2dc75863cc4b2b0b987bc9285e7c11c5dec5
parent6842d5fced16b275a06d39fe1d38b8326a11c84e
r600g: don't flush depth textures set as colorbuffers

The only case a depth buffer can be set as a color buffer is when flushing.

That wasn't always the case, but now this code isn't required anymore.

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