radv: do not allocate CMASK for non-MSSA images with 128 bit formats
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Oct 2017 20:55:32 +0000 (22:55 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 14 Oct 2017 10:25:48 +0000 (12:25 +0200)
commit0c1aecf177bbabff16aaef301483f689e8b850bb
tree79e2daf7f53c5eb5713363b612376f5455c91c56
parenta4c08c8cd5257fd628ab829bec0a119076c8f641
radv: do not allocate CMASK for non-MSSA images with 128 bit formats

This saves some useless CMASK initializations/eliminations in
the Vulkan SSAO demo.

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