radv: add radv_init_color_image_metadata() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 Apr 2018 17:14:48 +0000 (19:14 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 16 Apr 2018 12:20:54 +0000 (14:20 +0200)
commitd5812b900b68ec639a0b305e62712c182b9fa5d6
tree6d0567dae20f501c6946121601793cfb7acb0ede
parentfde7b90ecf6fe74e977e5676acc9454de5d5d9e4
radv: add radv_init_color_image_metadata() helper

In order to separate initialization from decompression. In the
future, that will allow us to init DCC/FMASK/CMASK in one shot.

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