r600g: optimize uploading depth textures
authorMarek Olšák <maraeo@gmail.com>
Tue, 17 Jul 2012 22:32:50 +0000 (00:32 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 17 Jul 2012 22:32:50 +0000 (00:32 +0200)
commit43e226b6efb77db2247741cc2057d9625a2cfa05
tree10919986e1a18be0ff2f481a1fec204014592ee6
parentb242adbe5cfa165b252064a1ea36f802d8251ef1
r600g: optimize uploading depth textures

Make it only copy the portion of a depth texture being uploaded and
not the whole 2D layer.

There is also a little code cleanup.
src/gallium/drivers/r600/r600_texture.c