radeonsi: Handle arbitrary 2-byte formats in resource_copy_region
authorMichel Dänzer <michel.daenzer@amd.com>
Wed, 27 Mar 2013 11:43:32 +0000 (12:43 +0100)
committerMichel Dänzer <michel@daenzer.net>
Tue, 2 Apr 2013 09:42:35 +0000 (11:42 +0200)
commitc6efb4870b7c735e4dc1907dfdfd1be3159dc451
tree891fe8ebe5fa520c306301fe0c25f5ff97ffe0ee
parent6d20c646d600518a67f6fb93ea0c71d03e65d74a
radeonsi: Handle arbitrary 2-byte formats in resource_copy_region

Fixes mplayer -vo vdpau OSD.

NOTE: This is a candidate for the 9.1 branch.

Reported-by: Igor Vagulin <igor.vagulin@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Tested-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/r600_blit.c