radv: Decompress copy destination if formats are incompatible.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 29 Dec 2017 00:57:17 +0000 (01:57 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 29 Dec 2017 11:21:58 +0000 (12:21 +0100)
commiteb9a4c34647a05272610d343f5c0f323dd612278
treee82219eb372fbd1a3cbc6e84a9ded28747f7d7a2
parent44fcf5874454dc5b68596c4eceeb9067bbe6527f
radv: Decompress copy destination if formats are incompatible.

If both source and destination are DCC compressed, and their formats
are not compatible, we need to decompress one of them to make
sure we can do reinterpretation (which needs src format == dst format)
.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
src/amd/vulkan/radv_meta_copy.c