radv: Add create image flag to not use DCC/CMASK.
authorBas Nieuwenhuizen <basni@chromium.org>
Thu, 4 Jan 2018 17:38:31 +0000 (18:38 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 19 Jan 2018 00:43:55 +0000 (01:43 +0100)
commita3e241ed07feae592d1fd83db388252816a32849
treec8159b5e6b151bef3542243eaf366d77ef77527d
parente344cd81783255eb5de762e5bd56bd4dfe8ae0c2
radv: Add create image flag to not use DCC/CMASK.

If we import an image, we might not have space in the
buffer for CMASK, even though it is compatible.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_image.c
src/amd/vulkan/radv_private.h