radv: Add code to check if two formats can share DCC metadata.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 15 Sep 2017 21:39:45 +0000 (23:39 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sat, 16 Sep 2017 09:55:42 +0000 (11:55 +0200)
commitd398db2acb9bb27ce6833a099f9be1cadcb17c5e
tree5ac5d95ea3b1841582c51950fa44c79a4899a307
parent4f8d1af0f6f45e4f62c9456b018e9945df1e6054
radv: Add code to check if two formats can share DCC metadata.

Ported from radeonsi.

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