r600g: allow copying between compatible un/compressed formats
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Mon, 7 Dec 2015 13:36:26 +0000 (00:36 +1100)
committerDave Airlie <airlied@redhat.com>
Wed, 9 Dec 2015 04:40:32 +0000 (14:40 +1000)
commitd13ac272006f0298146508d7d7b3b67e7fa27133
treee4dbe7463b61aef648e64a386c051f0f28f8ae98
parentf920f8eb026d39c0adb547a90399e76b8351fec6
r600g: allow copying between compatible un/compressed formats

See: `commit e82c527f1fc2f8ddc64954ecd06b0de3cea92e93`

which is where a block in src maps to a pixel in dst and vice versa.
    e.g. DXT1 <-> R32G32_UINT
         DXT5 <-> R32G32B32A32_UINT

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_blit.c