radv: Fix DCC compatible formats.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 23 Dec 2017 00:40:03 +0000 (01:40 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 23 Dec 2017 09:58:18 +0000 (10:58 +0100)
commit70b5e85fc3a79214b4f25db0e6d8fcc32d62a2f1
tree641987ad3b2e5ddb1b2c6bb805ce98705812c729
parent2d0457203871c843ebfc90fb895b65a9b14cd9bb
radv: Fix DCC compatible formats.

DCC was disabled when the image format is !!supported, which is one ! too many.

Ironically the commit that introduced it was supposed to lead to more DCC use ...

Fixes: 969537d9358 "radv: Add support for more DCC compression with VK_KHR_image_format_list."
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c