gallium/u_blit: set dst format from pipe_resource, not pipe_surface
authorMarek Olšák <maraeo@gmail.com>
Sun, 5 Aug 2012 00:46:41 +0000 (02:46 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 15 Aug 2012 17:20:57 +0000 (19:20 +0200)
commitb7c4ee21c53a73d84e352d6f3db2547f6434d14e
tree4e7eb0c5c3466743ba5212e274c4b7684e65e31c
parent1a17c4234431a17ec60503d69d7e84f85b3ae50d
gallium/u_blit: set dst format from pipe_resource, not pipe_surface

We use it to decide whether we can use resource_copy_region.

NOTE: This is a candidate for the 8.0 branch.
src/gallium/auxiliary/util/u_blit.c