anv: Allow override of pipeline color attachment count
authorChad Versace <chad.versace@intel.com>
Thu, 14 Jan 2016 02:24:18 +0000 (18:24 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 15 Jan 2016 06:53:05 +0000 (22:53 -0800)
commit2997b0da4a71fb3019ba9234cc94ec42fa2e5641
treee91c5e61fee73ae6936799fd19c7a79343d04050
parent13610c03a712fac8110aa77bf19712846e394c40
anv: Allow override of pipeline color attachment count

Add anv_graphics_pipeline_create_info::color_attachment_count. If
non-negative, then it overrides the color attachment count in the
pipeline's subpass. Useful for meta. (All the hacks for meta!)
src/vulkan/anv_meta.c
src/vulkan/anv_meta_clear.c
src/vulkan/anv_pipeline.c
src/vulkan/anv_private.h