radv: enable DCC for mipmapped color textures on GFX8
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 20 Jun 2019 07:17:37 +0000 (09:17 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 20 Jun 2019 09:04:02 +0000 (11:04 +0200)
commitf179febde0c6e85911365e845a737be3f346da4a
treee34f6a4e94c95e9d4a4cde2e2edc7da3f491fe9f
parent17f94e19841c9f31d571269cd622fd12de58e30d
radv: enable DCC for mipmapped color textures on GFX8

It's tricky on GFX9, so only GFX8 for now.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_image.c