anv/pass: Fix size of anv_render_pass:subpass_attachments
authorNanley Chery <nanley.g.chery@intel.com>
Mon, 27 Feb 2017 17:38:25 +0000 (09:38 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Thu, 2 Mar 2017 21:17:55 +0000 (13:17 -0800)
commit8f6a17c8e73c8edd181ce0afe0f8cbb1e726f65f
tree660362ab7805f38e069415093314e8635dbdf5fc
parent608d17b80e617b0052b148083d169d97e8f81ab3
anv/pass: Fix size of anv_render_pass:subpass_attachments

Don't allocate space for resolve attachments if the subpass has none.

Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_pass.c