radv: fix FMASK expand with SRGB formats
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 18 Jun 2019 14:11:07 +0000 (16:11 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 19 Jun 2019 05:53:53 +0000 (07:53 +0200)
commita7f75377aba6853e08561acb9609c5e262e4d9a6
tree270980b396520d148d8959403f42dbee5637ee95
parent0fcf73bc2d4dc292895ef8930f4f445d933b1630
radv: fix FMASK expand with SRGB formats

Found while working on DCC for MSAA.

Fixes: 6b976024a87 ("radv: add support for FMASK expand")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_meta_fmask_expand.c