anv: Add anv_cmd_state::attachments
authorChad Versace <chad.versace@intel.com>
Wed, 13 Jan 2016 19:28:35 +0000 (11:28 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 15 Jan 2016 06:53:05 +0000 (22:53 -0800)
commita4b045ca44fb8210537e5a2b7c772f836be20e97
tree10973e52537458fda36e4bc36c5ce2fc17fb2006
parent5d1c2736b6eae9bab1a66cc22197d053de3444a7
anv: Add anv_cmd_state::attachments

This array contains attachment state when recording a renderpass instance.
It's populated on each call to anv_cmd_buffer_set_pass.

The data is currently set but unused. We'll use it later to defer each
attachment clear to the subpass that first uses the attachment.
src/vulkan/anv_cmd_buffer.c
src/vulkan/anv_private.h
src/vulkan/gen7_cmd_buffer.c
src/vulkan/gen8_cmd_buffer.c